summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-07-05 21:28:45 -0700
committerYe Li <ye.li@nxp.com>2018-07-05 22:38:01 -0700
commit331ff420b0b369ff49645b78dc0f2bc5b5c19aa7 (patch)
treeed5568a75fa1ef2f3b0cedc3c6ecf0ae6f0cb178 /env
parente9057f5e9ac17b98ccf87989c4f259be00825255 (diff)
MLK-18776 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 dad6841e3c..042a8c65fa 100644
--- a/env/env.c
+++ b/env/env.c
@@ -51,6 +51,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