sf: spansion: Add support for S25FL512S_64K
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Mon, 10 Jun 2013 18:11:57 +0000 (23:41 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Sun, 23 Jun 2013 16:32:51 +0000 (22:02 +0530)
Add support for Spansion S25FL512S_64K SPI flash.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
drivers/mtd/spi/spansion.c

index dad4fbb6f9e001f7f6f8c931f27eecfe61a13666..3ec2151b3a9454867910524da21c1d0b9a22b277 100644 (file)
@@ -110,6 +110,13 @@ static const struct spansion_spi_flash_params spansion_spi_flash_table[] = {
                .nr_sectors = 512,
                .name = "S25FL256S_64K",
        },
+       {
+               .idcode1 = 0x0220,
+               .idcode2 = 0x4d01,
+               .pages_per_sector = 256,
+               .nr_sectors = 1024,
+               .name = "S25FL512S_64K",
+       },
 };
 
 struct spi_flash *spi_flash_probe_spansion(struct spi_slave *spi, u8 *idcode)