]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: ls1012afrwy: Add CONFIG_ENV_ADDR
authorKuldeep Singh <kuldeep.singh@nxp.com>
Mon, 30 Sep 2019 07:08:34 +0000 (12:38 +0530)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 21 Oct 2019 10:04:17 +0000 (15:34 +0530)
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>
include/configs/ls1012afrwy.h

index 77aa22bfdee08bc960b5beab04623efb912efa7e..1b0f1566d3eb19f7ec34557d6bc455f55bcf6f56 100644 (file)
 #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) \