summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKuldeep Singh <kuldeep.singh@nxp.com>2019-09-30 12:38:34 +0530
committerPriyanka Jain <priyanka.jain@nxp.com>2019-10-21 15:34:17 +0530
commit6972c60f8c54f77bcdb43139b3765fe6f4a4366a (patch)
tree0d8c7861555592bd8793340ffa3b71bf72c4cd4b
parent3f4bc67548595258764b6fb15717b17a05b6be58 (diff)
downloadu-boot-6972c60f8c54f77bcdb43139b3765fe6f4a4366a.tar.gz
configs: ls1012afrwy: Add CONFIG_ENV_ADDR
This configuration enables picking the environment from flash before DDR init. Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
-rw-r--r--include/configs/ls1012afrwy.h5
1 files changed, 5 insertions, 0 deletions
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) \