]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8: ls1088ardb: Add environment variable address location for QSPI-NOR
authorAshish Kumar <Ashish.Kumar@nxp.com>
Thu, 14 Dec 2017 12:07:09 +0000 (17:37 +0530)
committerYork Sun <york.sun@nxp.com>
Wed, 17 Jan 2018 18:30:54 +0000 (10:30 -0800)
Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
include/configs/ls1088a_common.h
include/configs/ls1088aqds.h
include/configs/ls1088ardb.h

index e68488416cf7d062b8531febb1e6c3eafdcaf113..61c30c9eaab0b5b77933c5dd82b6915a8133bbc8 100644 (file)
 
 #define CONFIG_SUPPORT_RAW_INITRD
 
+#ifdef CONFIG_QSPI_BOOT
+#define CONFIG_SYS_FSL_QSPI_BASE       0x20000000
+#define CONFIG_ENV_OFFSET              0x300000        /* 3MB */
+#define CONFIG_ENV_ADDR                        (CONFIG_SYS_FSL_QSPI_BASE + \
+                                               CONFIG_ENV_OFFSET)
+#endif
 
 #define CONFIG_SKIP_LOWLEVEL_INIT
 
index e7e3afefd9a8fbd2d5912f93112d2a3fc4998f54..8fbf89001efdb2e640b926f156a825351950740b 100644 (file)
@@ -21,7 +21,6 @@ unsigned long get_board_ddr_clk(void);
 
 #if defined(CONFIG_QSPI_BOOT)
 #define CONFIG_ENV_SIZE                        0x2000          /* 8KB */
-#define CONFIG_ENV_OFFSET              0x300000        /* 3MB */
 #define CONFIG_ENV_SECT_SIZE           0x40000
 #elif defined(CONFIG_SD_BOOT)
 #define CONFIG_ENV_OFFSET              (3 * 1024 * 1024)
index 3c6c66624e332f2f02e67700ed36e6696e0ec225..d0066e3551fdbb4ae837bb33d2a4eb4b5657295c 100644 (file)
@@ -17,7 +17,6 @@
 
 #if defined(CONFIG_QSPI_BOOT)
 #define CONFIG_ENV_SIZE                        0x2000          /* 8KB */
-#define CONFIG_ENV_OFFSET              0x300000        /* 3MB */
 #define CONFIG_ENV_SECT_SIZE           0x40000
 #elif defined(CONFIG_SD_BOOT)
 #define CONFIG_ENV_OFFSET              (3 * 1024 * 1024)