summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorStephan Linz <linz@li-pro.net>2012-08-02 20:47:30 +0200
committerMike Frysinger <vapier@gentoo.org>2012-08-09 20:41:54 -0400
commit6ad6c6dc1ed2bc3357afb2bdd22be8bab4955837 (patch)
tree481c1621d58ee400de27333feb455c5b241d89e7 /drivers
parent63ff6a66aef4d838fa6e3737d3e242697c0a591d (diff)
downloadu-boot-imx-6ad6c6dc1ed2bc3357afb2bdd22be8bab4955837.zip
u-boot-imx-6ad6c6dc1ed2bc3357afb2bdd22be8bab4955837.tar.gz
u-boot-imx-6ad6c6dc1ed2bc3357afb2bdd22be8bab4955837.tar.bz2
sf: stmicro: add support N25Q128 parts
Adds support for Numonyx's N25Q128 SPI flash. These devices are used on (among others) Avnet Spartan-6 LX9 micro-evaluation boards. Tested with "sf" commands and CONFIG_ENV_IS_IN_SPI_FLASH. Signed-off-by: Stephan Linz <linz@li-pro.net> 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 706bb8e..600e531 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 = 0xba18,
+ .pages_per_sector = 256,
+ .nr_sectors = 256,
+ .name = "N25Q128",
+ },
+ {
.id = 0xba19,
.pages_per_sector = 256,
.nr_sectors = 512,