Explorar o código

sf: stmicro: Add support for N25Q256A

Add support for Numonyx N25Q256A SPI flash.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Jagannadha Sutradharudu Teki %!s(int64=12) %!d(string=hai) anos
pai
achega
d62ef5619c
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      drivers/mtd/spi/stmicro.c

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

@@ -134,6 +134,12 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {
 		.nr_sectors = 512,
 		.name = "N25Q256",
 	},
+	{
+		.id = 0xbb19,
+		.pages_per_sector = 256,
+		.nr_sectors = 512,
+		.name = "N25Q256A",
+	},
 };
 
 struct spi_flash *spi_flash_probe_stmicro(struct spi_slave *spi, u8 * idcode)