From: Kuldeep Singh Date: Mon, 30 Sep 2019 07:08:34 +0000 (+0530) Subject: configs: ls1012afrwy: Add CONFIG_ENV_ADDR X-Git-Tag: v2020.01-rc1~12^2~5 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6972c60f8c54f77bcdb43139b3765fe6f4a4366a;p=oweals%2Fu-boot.git configs: ls1012afrwy: Add CONFIG_ENV_ADDR This configuration enables picking the environment from flash before DDR init. Signed-off-by: Kuldeep Singh Signed-off-by: Priyanka Jain --- diff --git a/include/configs/ls1012afrwy.h b/include/configs/ls1012afrwy.h index 77aa22bfde..1b0f1566d3 100644 --- a/include/configs/ls1012afrwy.h +++ b/include/configs/ls1012afrwy.h @@ -23,6 +23,11 @@ #define CONFIG_SYS_MEMTEST_START 0x80000000 #define CONFIG_SYS_MEMTEST_END 0x9fffffff +/* ENV */ +#define CONFIG_SYS_FSL_QSPI_BASE 0x40000000 +#define CONFIG_ENV_ADDR (CONFIG_SYS_FSL_QSPI_BASE + \ + CONFIG_ENV_OFFSET) + #ifndef CONFIG_SPL_BUILD #undef BOOT_TARGET_DEVICES #define BOOT_TARGET_DEVICES(func) \