Ver código fonte

ColdFire: Add Serial Flash support for M54455EVB

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew 16 anos atrás
pai
commit
922cd75155
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4 0
      include/configs/M54455EVB.h

+ 4 - 0
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 | \