From 221cb084ad24961c5fc3b9e0c0d06bbd83c3ac5e Mon Sep 17 00:00:00 2001 From: Jagannadha Sutradharudu Teki Date: Tue, 16 Apr 2013 20:22:48 +0530 Subject: [PATCH] sf: stmicro: Add support for N25Q1024 Add support for Numonyx N25Q1024 SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/stmicro.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/mtd/spi/stmicro.c b/drivers/mtd/spi/stmicro.c index bf61a3706f..cac10137c6 100644 --- a/drivers/mtd/spi/stmicro.c +++ b/drivers/mtd/spi/stmicro.c @@ -152,6 +152,12 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = { .nr_sectors = 1024, .name = "N25Q512A", }, + { + .id = 0xba21, + .pages_per_sector = 256, + .nr_sectors = 2048, + .name = "N25Q1024", + }, }; struct spi_flash *spi_flash_probe_stmicro(struct spi_slave *spi, u8 * idcode) -- 2.39.5