sf: stmicro: Add support for N25Q1024
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Tue, 16 Apr 2013 14:52:48 +0000 (20:22 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Sun, 23 Jun 2013 16:32:51 +0000 (22:02 +0530)
Add support for Numonyx N25Q1024 SPI flash.

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

index bf61a3706fe82a2bdb578fd247b8054188f54dca..cac10137c60f0de746d643549a102c1765bf4cda 100644 (file)
@@ -152,6 +152,12 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {
                .nr_sectors = 1024,
                .name = "N25Q512A",
        },
+       {
+               .id = 0xba21,
+               .pages_per_sector = 256,
+               .nr_sectors = 2048,
+               .name = "N25Q1024",
+       },
 };
 
 struct spi_flash *spi_flash_probe_stmicro(struct spi_slave *spi, u8 * idcode)