summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2012-08-10 14:21:46 +0200
committerMike Frysinger <vapier@gentoo.org>2012-08-10 11:31:04 -0400
commitd945ce970414673f895ac2b2449d7b7a9edf58d0 (patch)
tree60757d91aa06be4c7e6d3cdb34d65b8fda05125f /drivers
parent6ad6c6dc1ed2bc3357afb2bdd22be8bab4955837 (diff)
downloadu-boot-imx-d945ce970414673f895ac2b2449d7b7a9edf58d0.zip
u-boot-imx-d945ce970414673f895ac2b2449d7b7a9edf58d0.tar.gz
u-boot-imx-d945ce970414673f895ac2b2449d7b7a9edf58d0.tar.bz2
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 600e531..30b626a 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,