[kernel] add missing symbol
[openwrt.git] / target / linux / generic / patches-2.6.38 / 091-mtd-alice-gate-add-mx29lv640t-chip-support.patch
1 --- a/drivers/mtd/chips/jedec_probe.c
2 +++ b/drivers/mtd/chips/jedec_probe.c
3 @@ -105,6 +105,7 @@
4 #define MX29LV040C 0x004F
5 #define MX29LV160T 0x22C4
6 #define MX29LV160B 0x2249
7 +#define MX29LV640T 0x227e
8 #define MX29F040 0x00A4
9 #define MX29F016 0x00AD
10 #define MX29F002T 0x00B0
11 @@ -1162,6 +1163,19 @@ static const struct amd_flash_info jedec
12 ERASEINFO(0x04000,1)
13 }
14 }, {
15 + .mfr_id = CFI_MFR_MACRONIX,
16 + .dev_id = MX29LV640T,
17 + .name = "Macronix MX29LV640T",
18 + .devtypes = CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8,
19 + .uaddr = MTD_UADDR_0x0AAA_0x0555,
20 + .dev_size = SIZE_8MiB,
21 + .cmd_set = P_ID_AMD_STD,
22 + .nr_regions = 2,
23 + .regions = {
24 + ERASEINFO(0x10000,127),
25 + ERASEINFO(0x02000,8)
26 + }
27 + }, {
28 .mfr_id = CFI_MFR_NEC,
29 .dev_id = UPD29F064115,
30 .name = "NEC uPD29F064115",
This page took 0.041684 seconds and 5 git commands to generate.