]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8: ls1012a: fix the size of flash for multiple boards
authorSuresh Gupta <suresh.gupta@nxp.com>
Tue, 25 Apr 2017 09:21:38 +0000 (14:51 +0530)
committerYork Sun <york.sun@nxp.com>
Tue, 23 May 2017 16:18:01 +0000 (09:18 -0700)
LS1012AFRDM, LS1012ARDB, LS1012AQDS all have S25FS512S flash
of 64MB size.

Signed-off-by: Suresh Gupta <suresh.gupta@nxp.com>
include/configs/ls1012a_common.h

index 0db926fc4a14f18d1f9047239393bec7e17b8b6f..861cbc3299a18f48957eada0e457325a5405c390 100644 (file)
@@ -56,7 +56,7 @@
 #define QSPI0_AMBA_BASE                0x40000000
 #define CONFIG_SPI_FLASH_SPANSION
 
-#define FSL_QSPI_FLASH_SIZE            (1 << 24)
+#define FSL_QSPI_FLASH_SIZE            SZ_64M
 #define FSL_QSPI_FLASH_NUM             2
 
 /*