[U-Boot] [PATCH v1 3/4] armv8: ls1012a: update the flash size to 64M.
Yuan Yao
yao.yuan at freescale.com
Wed Sep 28 13:09:31 CEST 2016
From: Yuan Yao <yao.yuan at nxp.com>
The QSPI flash on LS1012A is 64MB, and don't support BAR.
Signed-off-by: Yuan Yao <yao.yuan at nxp.com>
---
include/configs/ls1012a_common.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h
index 5fb6c47..4a900bf 100644
--- a/include/configs/ls1012a_common.h
+++ b/include/configs/ls1012a_common.h
@@ -60,9 +60,8 @@
#define CONFIG_FSL_QSPI
#define QSPI0_AMBA_BASE 0x40000000
#define CONFIG_SPI_FLASH_SPANSION
-#define CONFIG_SPI_FLASH_BAR
-#define FSL_QSPI_FLASH_SIZE (1 << 24)
+#define FSL_QSPI_FLASH_SIZE SZ_64M
#define FSL_QSPI_FLASH_NUM 2
/*
--
2.1.0.27.g96db324
More information about the U-Boot
mailing list