From: Suresh Gupta <suresh.gupta@nxp.com>
Date: Tue, 25 Apr 2017 09:21:38 +0000 (+0530)
Subject: armv8: ls1012a: fix the size of flash for multiple boards
X-Git-Tag: v2025.01-rc5-pxa1908~6808^2~12
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/index.html?a=commitdiff_plain;h=5e3f763a4b00b6ca99e3e7e30544c78a8cb05f20;p=u-boot.git

armv8: ls1012a: fix the size of flash for multiple boards

LS1012AFRDM, LS1012ARDB, LS1012AQDS all have S25FS512S flash
of 64MB size.

Signed-off-by: Suresh Gupta <suresh.gupta@nxp.com>
---

diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h
index 0db926fc4a..861cbc3299 100644
--- a/include/configs/ls1012a_common.h
+++ b/include/configs/ls1012a_common.h
@@ -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
 
 /*