summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-06-10 23:41:57 +0530
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-06-23 22:02:51 +0530
commit76e98d48179c60f2fc06ac90d41de060c9d5b42d (patch)
tree1d0485876ff04c771f56a6f4e9d7db1b35a75bbe
parent4e2904311d2507b6b01c8418d7c28cd0c58ff30d (diff)
downloadu-boot-imx-76e98d48179c60f2fc06ac90d41de060c9d5b42d.zip
u-boot-imx-76e98d48179c60f2fc06ac90d41de060c9d5b42d.tar.gz
u-boot-imx-76e98d48179c60f2fc06ac90d41de060c9d5b42d.tar.bz2
sf: spansion: Add support for S25FL512S_64K
Add support for Spansion S25FL512S_64K SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-rw-r--r--drivers/mtd/spi/spansion.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mtd/spi/spansion.c b/drivers/mtd/spi/spansion.c
index dad4fbb..3ec2151 100644
--- a/drivers/mtd/spi/spansion.c
+++ b/drivers/mtd/spi/spansion.c
@@ -110,6 +110,13 @@ static const struct spansion_spi_flash_params spansion_spi_flash_table[] = {
.nr_sectors = 512,
.name = "S25FL256S_64K",
},
+ {
+ .idcode1 = 0x0220,
+ .idcode2 = 0x4d01,
+ .pages_per_sector = 256,
+ .nr_sectors = 1024,
+ .name = "S25FL512S_64K",
+ },
};
struct spi_flash *spi_flash_probe_spansion(struct spi_slave *spi, u8 *idcode)