Browse Source

sf: stmicro: Add support for N25Q512A

Add support for Numonyx N25Q512A SPI flash.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Jagannadha Sutradharudu Teki 12 years ago
parent
commit
fd60c0ac31
1 changed files with 6 additions and 0 deletions
  1. 6 0
      drivers/mtd/spi/stmicro.c

+ 6 - 0
drivers/mtd/spi/stmicro.c

@@ -146,6 +146,12 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {
 		.nr_sectors = 1024,
 		.nr_sectors = 1024,
 		.name = "N25Q512",
 		.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)
 struct spi_flash *spi_flash_probe_stmicro(struct spi_slave *spi, u8 * idcode)