]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
sf: spansion: Add support for S25FL256S
authorMichal Simek <monstr@monstr.eu>
Tue, 14 Aug 2012 11:11:22 +0000 (13:11 +0200)
committerMike Frysinger <vapier@gentoo.org>
Tue, 14 Aug 2012 15:45:50 +0000 (11:45 -0400)
Add support for Spansion S25FL256S SPI flash.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/mtd/spi/spansion.c

index 9a114ac6a1f48da45d7855ccfe47d6fcc066ebd5..32b76e0e9072196802b75963293f7ca2fddca106 100644 (file)
@@ -96,6 +96,13 @@ static const struct spansion_spi_flash_params spansion_spi_flash_table[] = {
                .nr_sectors = 256,
                .name = "S25FL129P_64K",
        },
+       {
+               .idcode1 = 0x2019,
+               .idcode2 = 0x4d01,
+               .pages_per_sector = 256,
+               .nr_sectors = 512,
+               .name = "S25FL256S",
+       },
 };
 
 struct spi_flash *spi_flash_probe_spansion(struct spi_slave *spi, u8 *idcode)