[U-Boot] [PATCH 1/2] ls1046ardb: Add CONFIG_ENV_ADDR to init env in qspi boot

Pankit Garg pankit.garg at nxp.com
Mon May 27 12:24:43 UTC 2019


Signed-off-by: Pankit Garg <pankit.garg at nxp.com>
---
 include/configs/ls1046ardb.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/ls1046ardb.h b/include/configs/ls1046ardb.h
index f22e863..5741014 100644
--- a/include/configs/ls1046ardb.h
+++ b/include/configs/ls1046ardb.h
@@ -162,6 +162,8 @@
 #define CONFIG_ENV_SIZE			0x2000		/* 8KB */
 #define CONFIG_ENV_OFFSET		0x500000	/* 5MB */
 #define CONFIG_ENV_SECT_SIZE		0x40000		/* 256KB */
+#define CONFIG_SYS_FSL_QSPI_BASE        0x40000000
+#define CONFIG_ENV_ADDR CONFIG_SYS_FSL_QSPI_BASE + CONFIG_ENV_OFFSET
 #else
 #if defined(CONFIG_SD_BOOT)
 #define CONFIG_SYS_MMC_ENV_DEV		0
-- 
1.9.1



More information about the U-Boot mailing list