ar71xx: allow to pass part_probe types to the m25p80 driver
[openwrt.git] / target / linux / ar71xx / patches-2.6.39 / 107-mtd-SST39VF6401B-support.patch
1 --- a/drivers/mtd/chips/jedec_probe.c
2 +++ b/drivers/mtd/chips/jedec_probe.c
3 @@ -148,6 +148,7 @@
4 #define SST39LF160 0x2782
5 #define SST39VF1601 0x234b
6 #define SST39VF3201 0x235b
7 +#define SST39VF6401B 0x236d
8 #define SST39WF1601 0x274b
9 #define SST39WF1602 0x274a
10 #define SST39LF512 0x00D4
11 @@ -1568,6 +1569,18 @@ static const struct amd_flash_info jedec
12 ERASEINFO(0x10000,64),
13 }
14 }, {
15 + .mfr_id = CFI_MFR_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 = CFI_MFR_ST,
28 .dev_id = M29F800AB,
29 .name = "ST M29F800AB",
This page took 0.043832 seconds and 5 git commands to generate.