* [U-Boot] [PATCH] env: sata: Add missed env location for SATA boot
@ 2019-01-04 9:34 Ye Li
2019-01-10 2:31 ` [U-Boot] " Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Ye Li @ 2019-01-04 9:34 UTC (permalink / raw)
To: u-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>
---
env/env.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/env/env.c b/env/env.c
index afed0f3..003509d 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
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] env: sata: Add missed env location for SATA boot
2019-01-04 9:34 [U-Boot] [PATCH] env: sata: Add missed env location for SATA boot Ye Li
@ 2019-01-10 2:31 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2019-01-10 2:31 UTC (permalink / raw)
To: u-boot
On Fri, Jan 04, 2019 at 09:34:24AM +0000, Ye Li wrote:
> 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>
Applied to u-boot/master, thanks!
--
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-10 2:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-04 9:34 [U-Boot] [PATCH] env: sata: Add missed env location for SATA boot Ye Li
2019-01-10 2:31 ` [U-Boot] " Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.