summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi/stmicro.c
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki@xilinx.com>2013-01-23 18:21:45 +0530
committerTom Rini <trini@ti.com>2013-02-06 10:10:00 -0500
commitf785fcb6318285b66338fa5f1701cb4bdade4c1d (patch)
tree8d7aeecc630b305bdf53f7cd630c2bb0e88df556 /drivers/mtd/spi/stmicro.c
parent5818a09d700894967b18d24e56452f0d27ad777f (diff)
downloadu-boot-imx-f785fcb6318285b66338fa5f1701cb4bdade4c1d.zip
u-boot-imx-f785fcb6318285b66338fa5f1701cb4bdade4c1d.tar.gz
u-boot-imx-f785fcb6318285b66338fa5f1701cb4bdade4c1d.tar.bz2
sf: stmicro: Add support for N25Q64A
Add support for Numonyx N25Q64A 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/stmicro.c')
-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 9ec938a..05657fa 100644
--- a/drivers/mtd/spi/stmicro.c
+++ b/drivers/mtd/spi/stmicro.c
@@ -99,6 +99,12 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {
.name = "N25Q064",
},
{
+ .id = 0xbb17,
+ .pages_per_sector = 256,
+ .nr_sectors = 128,
+ .name = "N25Q64A",
+ },
+ {
.id = 0xba18,
.pages_per_sector = 256,
.nr_sectors = 256,