diff options
author | Ye Li <ye.li@nxp.com> | 2019-01-04 09:34:24 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-01-09 07:13:32 -0500 |
commit | 9a6a311d2bd12957f84f08a5214db698a35e918d (patch) | |
tree | 799c354bd14a4d1d17fc4cc2d666f1da78a172f9 /env | |
parent | 9d47d1316da6585bbafe141e42bbdcdfd562bc71 (diff) | |
download | u-boot-9a6a311d2bd12957f84f08a5214db698a35e918d.tar.gz u-boot-9a6a311d2bd12957f84f08a5214db698a35e918d.tar.bz2 u-boot-9a6a311d2bd12957f84f08a5214db698a35e918d.zip |
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>
Diffstat (limited to 'env')
-rw-r--r-- | env/env.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -71,6 +71,9 @@ static enum env_location env_locations[] = { #ifdef CONFIG_ENV_IS_IN_REMOTE ENVL_REMOTE, #endif +#ifdef CONFIG_ENV_IS_IN_SATA + ENVL_ESATA, +#endif #ifdef CONFIG_ENV_IS_IN_SPI_FLASH ENVL_SPI_FLASH, #endif |