[U-Boot] [PATCH] ColdFire: Add Serial Flash support for M54455EVB

Tsi-Chung Liew Tsi-Chung.Liew at freescale.com
Tue Aug 12 15:16:08 CEST 2008


From: TsiChung Liew <Tsi-Chung.Liew at freescale.com>

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew at freescale.com>
---
 include/configs/M54455EVB.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/configs/M54455EVB.h b/include/configs/M54455EVB.h
index b7b5da0..e68b26e 100644
--- a/include/configs/M54455EVB.h
+++ b/include/configs/M54455EVB.h
@@ -77,6 +77,7 @@
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_REGINFO
 #define CONFIG_CMD_SPI
+#define CONFIG_CMD_SF
 
 #undef CONFIG_CMD_LOADB
 #undef CONFIG_CMD_LOADS
@@ -205,6 +206,9 @@
 #define CFG_SER_FLASH_BASE	0x01000000
 #define CFG_SBFHDR_SIZE		0x13
 #ifdef CONFIG_CMD_SPI
+#	define CONFIG_SPI_FLASH
+#	define CONFIG_SPI_FLASH_STMICRO
+
 #	define CFG_DSPI_DCTAR0		(DSPI_DCTAR_TRSZ(7) | \
 					 DSPI_DCTAR_CPOL | \
 					 DSPI_DCTAR_CPHA | \
-- 
1.5.6.4




More information about the U-Boot mailing list