You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
783 B
31 lines
783 B
12 years ago
|
From 81a8e9e192d53ce8b5cafd47190d6c6826519d09 Mon Sep 17 00:00:00 2001
|
||
|
From: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
||
|
Date: Wed, 7 Nov 2012 14:58:59 +0100
|
||
|
Subject: sf: spansion: fix device IDs and sector architecture for S25FL256S
|
||
|
|
||
|
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
||
|
|
||
|
--- a/drivers/mtd/spi/spansion.c
|
||
|
+++ b/drivers/mtd/spi/spansion.c
|
||
|
@@ -97,11 +97,18 @@ static const struct spansion_spi_flash_p
|
||
|
.name = "S25FL129P_64K",
|
||
|
},
|
||
|
{
|
||
|
- .idcode1 = 0x2019,
|
||
|
+ .idcode1 = 0x0219,
|
||
|
.idcode2 = 0x4d01,
|
||
|
.pages_per_sector = 256,
|
||
|
.nr_sectors = 512,
|
||
|
- .name = "S25FL256S",
|
||
|
+ .name = "S25FL256S_64K",
|
||
|
+ },
|
||
|
+ {
|
||
|
+ .idcode1 = 0x0219,
|
||
|
+ .idcode2 = 0x4d00,
|
||
|
+ .pages_per_sector = 1024,
|
||
|
+ .nr_sectors = 128,
|
||
|
+ .name = "S25FL256S_256K",
|
||
|
},
|
||
|
};
|
||
|
|