From 60b0055ba53ac908715be27404c9f4790a3b36f8 Mon Sep 17 00:00:00 2001 From: Kuldeep Singh Date: Wed, 18 Sep 2019 14:58:11 +0530 Subject: [PATCH] configs: ls1012ardb: Add CONFIG_ENV_ADDR CONFIG_ENV_ADDR config option enables picking the environment from flash before DDR init. Signed-off-by: Ashish Kumar Signed-off-by: Kuldeep Singh Signed-off-by: Priyanka Jain --- include/configs/ls1012ardb.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/configs/ls1012ardb.h b/include/configs/ls1012ardb.h index f6640fa499..a5e27404f8 100644 --- a/include/configs/ls1012ardb.h +++ b/include/configs/ls1012ardb.h @@ -17,6 +17,10 @@ #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) /* * I2C IO expander */ -- 2.25.1