From 7b7a869a8ba3bd6d9bffb748c91232141330f514 Mon Sep 17 00:00:00 2001 From: TsiChung Liew Date: Wed, 6 Aug 2008 16:08:41 -0500 Subject: mtd: SPI Flash: Support the STMicro Flash Add MTD SPI Flash support for M25P16, M25P20, M25P32, M25P40, M25P64, M25P80, M25P128. Signed-off-by: Jason McMullan Signed-off-by: TsiChung Liew --- drivers/mtd/spi/spi_flash.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/mtd/spi/spi_flash.c') diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c index d581cb3..d1d81af 100644 --- a/drivers/mtd/spi/spi_flash.c +++ b/drivers/mtd/spi/spi_flash.c @@ -134,6 +134,11 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs, flash = spi_flash_probe_atmel(spi, idcode); break; #endif +#ifdef CONFIG_SPI_FLASH_STMICRO + case 0x20: + flash = spi_flash_probe_stmicro(spi, idcode); + break; +#endif default: debug("SF: Unsupported manufacturer %02X\n", idcode[0]); flash = NULL; -- cgit v1.1