From 4a4cb4e11149158c9eabb1537a1eaee7372ce491 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Tue, 14 Aug 2012 13:11:22 +0200 Subject: [PATCH] sf: spansion: Add support for S25FL256S Add support for Spansion S25FL256S SPI flash. Signed-off-by: Michal Simek Signed-off-by: Mike Frysinger --- drivers/mtd/spi/spansion.c | 7 +++++++ 1 file changed, 7 insertions(+) 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) -- 2.7.4