[U-Boot] [PATCH 3/5] spansion: add support for S25FL256S1

Ira W. Snyder iws at ovro.caltech.edu
Wed Sep 12 23:17:33 CEST 2012


From: "Ira W. Snyder" <iws at ovro.caltech.edu>

Add support for the S25FL256S1 flash chip. It is a 256Mb (32MB) flash
comprised of 64KB pages.

Signed-off-by: Ira W. Snyder <iws at ovro.caltech.edu>
---
 drivers/mtd/spi/spansion.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/spi/spansion.c b/drivers/mtd/spi/spansion.c
index 457cc06..76eebf8 100644
--- a/drivers/mtd/spi/spansion.c
+++ b/drivers/mtd/spi/spansion.c
@@ -78,6 +78,14 @@ static const struct spansion_spi_flash_params spansion_spi_flash_table[] = {
 		.name = "S25FL064A",
 	},
 	{
+		.idcode1 = 0x0219,
+		.idcode2 = 0x4d01,
+		.page_size = 256,
+		.pages_per_sector = 256,
+		.nr_sectors = 512,
+		.name = "S25FL256S1",
+	},
+	{
 		.idcode1 = 0x2018,
 		.idcode2 = 0x0301,
 		.page_size = 256,
-- 
1.7.8.6



More information about the U-Boot mailing list