ColdFire: Add Serial Flash support for M54455EVB
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>
Thu, 7 Aug 2008 00:14:08 +0000 (19:14 -0500)
committerJohn Rigby <jrigby@freescale.com>
Thu, 14 Aug 2008 18:31:56 +0000 (12:31 -0600)
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
include/configs/M54455EVB.h

index f893b232cbe227da0c67fc368aecdbd829628d88..476aba34786ed505032026eb01266e3dbb6ee6eb 100644 (file)
@@ -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
 #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 | \