summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2019-01-04 09:34:24 +0000
committerTom Rini <trini@konsulko.com>2019-01-09 07:13:32 -0500
commit9a6a311d2bd12957f84f08a5214db698a35e918d (patch)
tree799c354bd14a4d1d17fc4cc2d666f1da78a172f9 /env
parent9d47d1316da6585bbafe141e42bbdcdfd562bc71 (diff)
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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/env/env.c b/env/env.c
index afed0f3c95..003509d342 100644
--- a/env/env.c
+++ b/env/env.c
@@ -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