[U-Boot] [PATCH] ColdFire: Fix M53017EVB flash size

TsiChung Liew tsicliew at gmail.com
Wed Jul 8 09:45:24 CEST 2009


Increase the flash size from 8MB to 16MB

Signed-off-by: TsiChung Liew <tsicliew at gmail.com>
---
 include/configs/M53017EVB.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/configs/M53017EVB.h b/include/configs/M53017EVB.h
index 54c385e..801f90f 100644
--- a/include/configs/M53017EVB.h
+++ b/include/configs/M53017EVB.h
@@ -206,7 +206,7 @@
 #	define CONFIG_FLASH_CFI_DRIVER		1
 #	define CONFIG_SYS_FLASH_USE_BUFFER_WRITE	1
 #	define CONFIG_FLASH_SPANSION_S29WS_N	1
-#	define CONFIG_SYS_FLASH_SIZE		0x800000	/* Max size that the board might have */
+#	define CONFIG_SYS_FLASH_SIZE		0x1000000	/* Max size that the board might have */
 #	define CONFIG_SYS_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 #	define CONFIG_SYS_MAX_FLASH_BANKS	1	/* max number of memory banks */
 #	define CONFIG_SYS_MAX_FLASH_SECT	137	/* max number of sectors on one chip */
-- 
1.5.6.4



More information about the U-Boot mailing list