summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2012-08-14 13:11:22 +0200
committerMike Frysinger <vapier@gentoo.org>2012-08-14 11:45:50 -0400
commit4a4cb4e11149158c9eabb1537a1eaee7372ce491 (patch)
tree1e36035f9d097d46e9262c5f97fe9f6931112d51 /drivers
parentc75942c7b792f420d1bf41e15cb1c00189f26ccd (diff)
downloadu-boot-imx-4a4cb4e11149158c9eabb1537a1eaee7372ce491.zip
u-boot-imx-4a4cb4e11149158c9eabb1537a1eaee7372ce491.tar.gz
u-boot-imx-4a4cb4e11149158c9eabb1537a1eaee7372ce491.tar.bz2
sf: spansion: Add support for S25FL256S
Add support for Spansion S25FL256S SPI flash. Signed-off-by: Michal Simek <monstr@monstr.eu> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers')
-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 9a114ac..32b76e0 100644
--- a/drivers/mtd/spi/spansion.c
+++ b/drivers/mtd/spi/spansion.c
@@ -96,6 +96,13 @@ static const struct spansion_spi_flash_params spansion_spi_flash_table[] = {
.nr_sectors = 256,
.name = "S25FL129P_64K",
},
+ {
+ .idcode1 = 0x2019,
+ .idcode2 = 0x4d01,
+ .pages_per_sector = 256,
+ .nr_sectors = 512,
+ .name = "S25FL256S",
+ },
};
struct spi_flash *spi_flash_probe_spansion(struct spi_slave *spi, u8 *idcode)