Skip to contentSkip to conversation

env: sata: Add missed env location for SATA boot

PATCH In review Ye Li 2 participants 2 messages Jan 4, 2019 – Jan 10, 2019

lore
Share & tools
lore

Ye Li

author
#0 lore raw

PATCH 1/1 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.

---
 env/env.c | 3 +++
 1 file changed, 3 insertions(+)
env/env.c +3 -0
index afed0f3..003509d 100644
@@ -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
Signature · 1 line
2.7.4
#1 lore raw
Quoted 6 lines · Ye Li

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.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190109/ef6f89ee/attachment.sig>