summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki@xilinx.com>2013-01-29 17:13:36 +0530
committerTom Rini <trini@ti.com>2013-02-06 10:10:00 -0500
commitc75c92122f1146642c99d1f24431be3432679eb3 (patch)
tree611982b2663602dc59233f9a3dadc015fe976470 /drivers/mtd/spi
parentf785fcb6318285b66338fa5f1701cb4bdade4c1d (diff)
downloadu-boot-imx-c75c92122f1146642c99d1f24431be3432679eb3.zip
u-boot-imx-c75c92122f1146642c99d1f24431be3432679eb3.tar.gz
u-boot-imx-c75c92122f1146642c99d1f24431be3432679eb3.tar.bz2
sf: stmicro: Add support for N25Q32
Add support for Numonyx N25Q32 SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/mtd/spi')
-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 05657fa..faf8e40 100644
--- a/drivers/mtd/spi/stmicro.c
+++ b/drivers/mtd/spi/stmicro.c
@@ -93,6 +93,12 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {
.name = "M25P128",
},
{
+ .id = 0xba16,
+ .pages_per_sector = 256,
+ .nr_sectors = 64,
+ .name = "N25Q32",
+ },
+ {
.id = 0xba17,
.pages_per_sector = 256,
.nr_sectors = 128,