[U-Boot] [PATCH v1 4/4] armv8: ls1046a: update the flash size to 64M.

Yuan Yao yao.yuan at freescale.com
Wed Sep 28 13:09:32 CEST 2016


From: Yuan Yao <yao.yuan at nxp.com>

The QSPI flash on LS1046A is 64MB, and don't support BAR.

Signed-off-by: Yuan Yao <yao.yuan at nxp.com>
---
 include/configs/ls1046ardb.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/configs/ls1046ardb.h b/include/configs/ls1046ardb.h
index 693cc8d..3322953 100644
--- a/include/configs/ls1046ardb.h
+++ b/include/configs/ls1046ardb.h
@@ -209,9 +209,8 @@
 /* QSPI device */
 #ifdef CONFIG_FSL_QSPI
 #define CONFIG_SPI_FLASH_SPANSION
-#define FSL_QSPI_FLASH_SIZE		(1 << 26)
+#define FSL_QSPI_FLASH_SIZE		SZ_64M
 #define FSL_QSPI_FLASH_NUM		2
-#define CONFIG_SPI_FLASH_BAR
 #endif
 
 /* SATA */
-- 
2.1.0.27.g96db324



More information about the U-Boot mailing list