[U-Boot] [PATCH] sf: spansion: Add support for S25FL256S
Michal Simek
monstr at monstr.eu
Tue Aug 14 13:11:22 CEST 2012
Add support for Spansion S25FL256S SPI flash.
Signed-off-by: Michal Simek <monstr at monstr.eu>
---
drivers/mtd/spi/spansion.c | 7 +++++++
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)
--
1.7.0.4
More information about the U-Boot
mailing list