aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-04-16 20:18:29 +0530
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-06-23 22:02:50 +0530
commit0569f3b9be46cf3fa34232b903236a0893793ee6 (patch)
tree4e71f49d6029ac13706c0c0f8d4bd271acbb2f0f
parentf76b1bd08b00bec89cace4da97eab8c8d89a74c2 (diff)
downloadu-boot-0569f3b9be46cf3fa34232b903236a0893793ee6.zip
u-boot-0569f3b9be46cf3fa34232b903236a0893793ee6.tar.gz
u-boot-0569f3b9be46cf3fa34232b903236a0893793ee6.tar.bz2
sf: stmicro: Add support for N25Q512
Add support for Numonyx N25Q512 SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-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 2a9972b..e9adfa5 100644
--- a/drivers/mtd/spi/stmicro.c
+++ b/drivers/mtd/spi/stmicro.c
@@ -140,6 +140,12 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {
.nr_sectors = 512,
.name = "N25Q256A",
},
+ {
+ .id = 0xba20,
+ .pages_per_sector = 256,
+ .nr_sectors = 1024,
+ .name = "N25Q512",
+ },
};
struct spi_flash *spi_flash_probe_stmicro(struct spi_slave *spi, u8 * idcode)