summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki@xilinx.com>2013-01-29 17:13:38 +0530
committerTom Rini <trini@ti.com>2013-02-06 10:10:00 -0500
commitd62ef5619c9249772247d6af3b8e65207ae0c871 (patch)
tree08a80f41b73b6fa1da4a858c68f556b039fc91c5 /drivers/mtd/spi
parentb1431dac32c43225bb63fbc77afabd7308fa7213 (diff)
downloadu-boot-imx-d62ef5619c9249772247d6af3b8e65207ae0c871.zip
u-boot-imx-d62ef5619c9249772247d6af3b8e65207ae0c871.tar.gz
u-boot-imx-d62ef5619c9249772247d6af3b8e65207ae0c871.tar.bz2
sf: stmicro: Add support for N25Q256A
Add support for Numonyx N25Q256A 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 348291d..8a19344 100644
--- a/drivers/mtd/spi/stmicro.c
+++ b/drivers/mtd/spi/stmicro.c
@@ -134,6 +134,12 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {
.nr_sectors = 512,
.name = "N25Q256",
},
+ {
+ .id = 0xbb19,
+ .pages_per_sector = 256,
+ .nr_sectors = 512,
+ .name = "N25Q256A",
+ },
};
struct spi_flash *spi_flash_probe_stmicro(struct spi_slave *spi, u8 * idcode)