diff options
author | Jason McMullan <mcmullan@netapp.com> | 2009-10-09 17:12:23 -0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-11-22 23:54:18 +0100 |
commit | d394a7795027d96ca55799df40bd5c4a13dbeebe (patch) | |
tree | 893b1365ed7f2d0ff04e0c4068d3c255fb833a76 /drivers/mtd/spi/spi_flash.c | |
parent | cada315100c88894b85972a91309a6f2413966b6 (diff) | |
download | u-boot-imx-d394a7795027d96ca55799df40bd5c4a13dbeebe.zip u-boot-imx-d394a7795027d96ca55799df40bd5c4a13dbeebe.tar.gz u-boot-imx-d394a7795027d96ca55799df40bd5c4a13dbeebe.tar.bz2 |
sf: new driver for Winbond W25X16/32/64 devices
Signed-off-by: Jason McMullan <jason.mcmullan@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/mtd/spi/spi_flash.c')
-rw-r--r-- | drivers/mtd/spi/spi_flash.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c index 25346a4..612f819 100644 --- a/drivers/mtd/spi/spi_flash.c +++ b/drivers/mtd/spi/spi_flash.c @@ -140,6 +140,11 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs, flash = spi_flash_probe_macronix(spi, idcode); break; #endif +#ifdef CONFIG_SPI_FLASH_WINBOND + case 0xef: + flash = spi_flash_probe_winbond(spi, idcode); + break; +#endif #ifdef CONFIG_SPI_FLASH_STMICRO case 0x20: flash = spi_flash_probe_stmicro(spi, idcode); |