sf: add driver for SST flashes
[platform/kernel/u-boot.git] / drivers / mtd / spi / spi_flash.c
index f002c0e..21ba5f9 100644 (file)
@@ -139,6 +139,11 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs,
                flash = spi_flash_probe_stmicro(spi, idcode);
                break;
 #endif
+#ifdef CONFIG_SPI_FLASH_SST
+       case 0xBF:
+               flash = spi_flash_probe_sst(spi, idcode);
+               break;
+#endif
        default:
                debug("SF: Unsupported manufacturer %02X\n", idcode[0]);
                flash = NULL;