]> git.sur5r.net Git - u-boot/blobdiff - drivers/mtd/spi/spi_flash.c
sf: new driver for Winbond W25X16/32/64 devices
[u-boot] / drivers / mtd / spi / spi_flash.c
index 25346a4a110e790e574dcd1d2415caaf37c21a04..612f819dc29b5b698d5c14bde1e1a27ac0b1800b 100644 (file)
@@ -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);