summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-04-16 20:22:48 +0530
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-06-23 22:02:51 +0530
commit221cb084ad24961c5fc3b9e0c0d06bbd83c3ac5e (patch)
tree103bc02e167640307d4260bed09633c8b5a4a4db
parentfd60c0ac31cbd9c76744cb34562f32d2a13fbe44 (diff)
downloadu-boot-imx-221cb084ad24961c5fc3b9e0c0d06bbd83c3ac5e.zip
u-boot-imx-221cb084ad24961c5fc3b9e0c0d06bbd83c3ac5e.tar.gz
u-boot-imx-221cb084ad24961c5fc3b9e0c0d06bbd83c3ac5e.tar.bz2
sf: stmicro: Add support for N25Q1024
Add support for Numonyx N25Q1024 SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-rw-r--r--drivers/mtd/spi/stmicro.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mtd/spi/stmicro.c b/drivers/mtd/spi/stmicro.c
index bf61a37..cac1013 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)