aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKuldeep Singh <kuldeep.singh@nxp.com>2019-09-18 14:58:11 +0530
committerPriyanka Jain <priyanka.jain@nxp.com>2019-10-21 15:34:17 +0530
commit60b0055ba53ac908715be27404c9f4790a3b36f8 (patch)
treea68713c632b9a234533a9b11c3e3d148b6b6210c /include
parent6ed695238304db5a650065fbdb9b41a5b916ff09 (diff)
downloadu-boot-60b0055ba53ac908715be27404c9f4790a3b36f8.zip
u-boot-60b0055ba53ac908715be27404c9f4790a3b36f8.tar.gz
u-boot-60b0055ba53ac908715be27404c9f4790a3b36f8.tar.bz2
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 <Ashish.Kumar@nxp.com> Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ls1012ardb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/ls1012ardb.h b/include/configs/ls1012ardb.h
index f6640fa..a5e2740 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
*/