From: Ye Li Date: Fri, 4 Jan 2019 09:34:24 +0000 (+0000) Subject: env: sata: Add missed env location for SATA boot X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=9a6a311d2bd12957f84f08a5214db698a35e918d;p=u-boot.git 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 Reviewed-by: Peng Fan --- 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