mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
env: sata: Add missed env location for SATA boot
The env location label ENVL_ESATA is missed in location tables, so when we configure the ENV in SATA, u-boot fails to get correct env location and cause boot hang in board_f. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
3
env/env.c
vendored
3
env/env.c
vendored
@ -71,6 +71,9 @@ static enum env_location env_locations[] = {
|
|||||||
#ifdef CONFIG_ENV_IS_IN_REMOTE
|
#ifdef CONFIG_ENV_IS_IN_REMOTE
|
||||||
ENVL_REMOTE,
|
ENVL_REMOTE,
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef CONFIG_ENV_IS_IN_SATA
|
||||||
|
ENVL_ESATA,
|
||||||
|
#endif
|
||||||
#ifdef CONFIG_ENV_IS_IN_SPI_FLASH
|
#ifdef CONFIG_ENV_IS_IN_SPI_FLASH
|
||||||
ENVL_SPI_FLASH,
|
ENVL_SPI_FLASH,
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user