]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: ls1012ardb: Add CONFIG_ENV_ADDR
authorKuldeep Singh <kuldeep.singh@nxp.com>
Wed, 18 Sep 2019 09:28:11 +0000 (14:58 +0530)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 21 Oct 2019 10:04:17 +0000 (15:34 +0530)
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>
include/configs/ls1012ardb.h

index f6640fa4994a180e55a71e5f23c3bb8451e2cfc7..a5e27404f86a7e28d6c4296a68965024487f3ae1 100644 (file)
 #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
  */