Root/target/linux/ar71xx/patches-2.6.32/107-mtd-SST39VF6401B-support.patch

1--- a/drivers/mtd/chips/jedec_probe.c
2+++ b/drivers/mtd/chips/jedec_probe.c
3@@ -166,6 +166,7 @@
4 #define SST39LF160 0x2782
5 #define SST39VF1601 0x234b
6 #define SST39VF3201 0x235b
7+#define SST39VF6401B 0x236d
8 #define SST39LF512 0x00D4
9 #define SST39LF010 0x00D5
10 #define SST39LF020 0x00D6
11@@ -1556,6 +1557,18 @@ static const struct amd_flash_info jedec
12             ERASEINFO(0x10000,64),
13         }
14     }, {
15+ .mfr_id = MANUFACTURER_SST,
16+ .dev_id = SST39VF6401B,
17+ .name = "SST 39VF6401B",
18+ .devtypes = CFI_DEVICETYPE_X16,
19+ .uaddr = MTD_UADDR_0xAAAA_0x5555,
20+ .dev_size = SIZE_8MiB,
21+ .cmd_set = P_ID_AMD_STD,
22+ .nr_regions = 1,
23+ .regions = {
24+ ERASEINFO(0x10000,128)
25+ }
26+ }, {
27         .mfr_id = MANUFACTURER_ST,
28         .dev_id = M29F800AB,
29         .name = "ST M29F800AB",
30

Archive Download this file



interactive