summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-04-16 20:20:12 +0530
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-06-23 22:02:51 +0530
commitfd60c0ac31cbd9c76744cb34562f32d2a13fbe44 (patch)
treecc8bf7b3badb3fe3f822cf14febbff1aa3716c34 /drivers
parent0569f3b9be46cf3fa34232b903236a0893793ee6 (diff)
downloadu-boot-imx-fd60c0ac31cbd9c76744cb34562f32d2a13fbe44.zip
u-boot-imx-fd60c0ac31cbd9c76744cb34562f32d2a13fbe44.tar.gz
u-boot-imx-fd60c0ac31cbd9c76744cb34562f32d2a13fbe44.tar.bz2
sf: stmicro: Add support for N25Q512A
Add support for Numonyx N25Q512A SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
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 e9adfa5..bf61a37 100644
--- a/drivers/mtd/spi/stmicro.c
+++ b/drivers/mtd/spi/stmicro.c
@@ -146,6 +146,12 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {
.nr_sectors = 1024,
.name = "N25Q512",
},
+ {
+ .id = 0xbb20,
+ .pages_per_sector = 256,
+ .nr_sectors = 1024,
+ .name = "N25Q512A",
+ },
};
struct spi_flash *spi_flash_probe_stmicro(struct spi_slave *spi, u8 * idcode)