[U-Boot] [RESEND][PATCH v2] configs: ls1012ardb: Add CONFIG_ENV_ADDR for LS1012ARDB
Kuldeep Singh
kuldeep.singh at nxp.com
Wed Sep 18 09:28:11 UTC 2019
This configuration helps in picking the environment from flash before
DDR init.
Signed-off-by: Ashish Kumar <Ashish.Kumar at nxp.com>
Signed-off-by: Kuldeep Singh <kuldeep.singh at nxp.com>
---
v2:
Reword commit message
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.17.1
More information about the U-Boot
mailing list