[U-Boot] [PATCH 2/2] armv8: ls1088ardb: Add environment variable address location for QSPI-NOR

Ashish Kumar Ashish.Kumar at nxp.com
Thu Dec 14 11:57:03 UTC 2017


Signed-off-by: Ashish Kumar <Ashish.Kumar at nxp.com>
---
 include/configs/ls1088ardb.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/ls1088ardb.h b/include/configs/ls1088ardb.h
index 1da8153..56416de 100644
--- a/include/configs/ls1088ardb.h
+++ b/include/configs/ls1088ardb.h
@@ -12,8 +12,10 @@
 #define CONFIG_DISPLAY_BOARDINFO_LATE
 
 #if defined(CONFIG_QSPI_BOOT)
+#define CONFIG_SYS_FSL_QSPI_BASE	0x20000000
 #define CONFIG_ENV_SIZE			0x2000          /* 8KB */
 #define CONFIG_ENV_OFFSET		0x300000        /* 3MB */
+#define CONFIG_ENV_ADDR			(CONFIG_SYS_FSL_QSPI_BASE + CONFIG_ENV_OFFSET)
 #define CONFIG_ENV_SECT_SIZE		0x40000
 #elif defined(CONFIG_SD_BOOT)
 #define CONFIG_ENV_OFFSET		(3 * 1024 * 1024)
-- 
2.7.4



More information about the U-Boot mailing list