X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fmtd%2Fspi%2Fspi_flash.c;h=d1d81af0ec075c753e8129b117c3151a1b1ad312;hb=7b7a869a8ba3bd6d9bffb748c91232141330f514;hp=d581cb3e89b0172458120ca54b237dca8c95f481;hpb=d25ce7d24cc0f93881559f4009175ea305af65e8;p=u-boot diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c index d581cb3e89..d1d81af0ec 100644 --- a/drivers/mtd/spi/spi_flash.c +++ b/drivers/mtd/spi/spi_flash.c @@ -133,6 +133,11 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs, case 0x1F: 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]);