[PATCH 5/9] MTD: Add support for the SST 39VF1601 flash chip [try #6]

From: David Howells
Date: Tue Nov 13 2007 - 19:21:07 EST


Add support for the SST 39VF1601 flash chip.

Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
---

drivers/mtd/chips/jedec_probe.c | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c
index a67b23b..75fbdcf 100644
--- a/drivers/mtd/chips/jedec_probe.c
+++ b/drivers/mtd/chips/jedec_probe.c
@@ -1527,7 +1527,21 @@ static const struct amd_flash_info jedec_table[] = {
ERASEINFO(0x1000,256),
ERASEINFO(0x1000,256)
}
-
+ }, {
+ .mfr_id = MANUFACTURER_SST, /* should be CFI */
+ .dev_id = SST39VF1601,
+ .name = "SST 39VF1601",
+ .uaddr = {
+ [0] = MTD_UADDR_0x5555_0x2AAA, /* x8 */
+ [1] = MTD_UADDR_0x5555_0x2AAA /* x16 */
+ },
+ .DevSize = SIZE_2MiB,
+ .CmdSet = P_ID_AMD_STD,
+ .NumEraseRegions = 2,
+ .regions = {
+ ERASEINFO(0x1000, 256),
+ ERASEINFO(0x1000, 256)
+ }
}, {
.mfr_id = MANUFACTURER_ST,
.dev_id = M29F800AB,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/