aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMichal Simek2012-08-10 14:21:46 +0200
committerMike Frysinger2012-08-10 11:31:04 -0400
commitd945ce970414673f895ac2b2449d7b7a9edf58d0 (patch)
tree60757d91aa06be4c7e6d3cdb34d65b8fda05125f /drivers
parent6ad6c6dc1ed2bc3357afb2bdd22be8bab4955837 (diff)
sf: stmicro: add support for N25Q128A
Add support for Numonyx N25Q128A SPI flash. Signed-off-by: Michal Simek <monstr@monstr.eu> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers')
-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 600e5311b92..30b626a39f8 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 = "N25Q128",
},
{
+ .id = 0xbb18,
+ .pages_per_sector = 256,
+ .nr_sectors = 256,
+ .name = "N25Q128A",
+ },
+ {
.id = 0xba19,
.pages_per_sector = 256,
.nr_sectors = 512,