]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sf: stmicro: Add support for N25Q512
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Tue, 16 Apr 2013 14:48:29 +0000 (20:18 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Sun, 23 Jun 2013 16:32:50 +0000 (22:02 +0530)
Add support for Numonyx N25Q512 SPI flash.

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

index 2a9972bd4ee519f97c67c7df3e6c0c4ac49fa49d..e9adfa5d7cb09c31341efea2ade7edbbfd7a5f5a 100644 (file)
@@ -140,6 +140,12 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {
                .nr_sectors = 512,
                .name = "N25Q256A",
        },
+       {
+               .id = 0xba20,
+               .pages_per_sector = 256,
+               .nr_sectors = 1024,
+               .name = "N25Q512",
+       },
 };
 
 struct spi_flash *spi_flash_probe_stmicro(struct spi_slave *spi, u8 * idcode)