]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
sf: stmicro: Add support for N25Q512A
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Tue, 16 Apr 2013 14:50:12 +0000 (20:20 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 3 May 2013 07:01:07 +0000 (09:01 +0200)
Add support for Numonyx N25Q512A SPI flash.

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

index c313d553b5991e151c113bf5c47be9f9ea23b0a5..079dda37b74edfeaa08da3ed0731a78d09c4d8a8 100644 (file)
@@ -146,6 +146,12 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {
                .nr_sectors = 1024,
                .name = "N25Q512",
        },
+       {
+               .id = 0xbb20,
+               .pages_per_sector = 256,
+               .nr_sectors = 1024,
+               .name = "N25Q512A",
+       },
 };
 
 struct spi_flash *spi_flash_probe_stmicro(struct spi_slave *spi, u8 * idcode)