]> git.ipfire.org Git - thirdparty/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)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 3 May 2013 07:01:06 +0000 (09:01 +0200)
Add support for Numonyx N25Q512 SPI flash.

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

index 93e9edb987c7358551cd5bbe5b3d0dc84508d22d..c313d553b5991e151c113bf5c47be9f9ea23b0a5 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)