aboutsummaryrefslogtreecommitdiff
path: root/env/env.c
diff options
context:
space:
mode:
authorYe Li2019-01-04 09:34:24 +0000
committerTom Rini2019-01-09 07:13:32 -0500
commit9a6a311d2bd12957f84f08a5214db698a35e918d (patch)
tree799c354bd14a4d1d17fc4cc2d666f1da78a172f9 /env/env.c
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/env.c')
-rw-r--r--env/env.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/env/env.c b/env/env.c
index afed0f3c95c..003509d3424 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