summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-04-16 20:23:48 +0530
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-06-23 22:02:51 +0530
commit4e2904311d2507b6b01c8418d7c28cd0c58ff30d (patch)
tree0554e5376b029eeb41077ad596f9355171f37cff /drivers/mtd
parent221cb084ad24961c5fc3b9e0c0d06bbd83c3ac5e (diff)
downloadu-boot-imx-4e2904311d2507b6b01c8418d7c28cd0c58ff30d.zip
u-boot-imx-4e2904311d2507b6b01c8418d7c28cd0c58ff30d.tar.gz
u-boot-imx-4e2904311d2507b6b01c8418d7c28cd0c58ff30d.tar.bz2
sf: stmicro: Add support for N25Q1024A
Add support for Numonyx N25Q1024A SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Diffstat (limited to 'drivers/mtd')
-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 cac1013..ef4b911 100644
--- a/drivers/mtd/spi/stmicro.c
+++ b/drivers/mtd/spi/stmicro.c
@@ -158,6 +158,12 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {
.nr_sectors = 2048,
.name = "N25Q1024",
},
+ {
+ .id = 0xbb21,
+ .pages_per_sector = 256,
+ .nr_sectors = 2048,
+ .name = "N25Q1024A",
+ },
};
struct spi_flash *spi_flash_probe_stmicro(struct spi_slave *spi, u8 * idcode)