6c827c851afdf2a04d3a47bb252553e6ad7e9b39
[openwrt.git] / target / linux / adm5120 / patches-2.6.28 / 102-jedec_pmc_39lvxxx_chips.patch
1 --- a/drivers/mtd/chips/jedec_probe.c
2 +++ b/drivers/mtd/chips/jedec_probe.c
3 @@ -128,6 +128,10 @@
4 #define UPD29F064115 0x221C
5
6 /* PMC */
7 +#define PM39LV512 0x001B
8 +#define PM39LV010 0x001C
9 +#define PM39LV020 0x003D
10 +#define PM39LV040 0x003E
11 #define PM49FL002 0x006D
12 #define PM49FL004 0x006E
13 #define PM49FL008 0x006A
14 @@ -1248,6 +1252,54 @@ static const struct amd_flash_info jedec
15 ERASEINFO(0x02000,2),
16 ERASEINFO(0x04000,1),
17 }
18 + }, {
19 + .mfr_id = MANUFACTURER_PMC,
20 + .dev_id = PM39LV512,
21 + .name = "PMC Pm39LV512",
22 + .devtypes = CFI_DEVICETYPE_X8,
23 + .uaddr = MTD_UADDR_0x0555_0x02AA,
24 + .dev_size = SIZE_64KiB,
25 + .cmd_set = P_ID_AMD_STD,
26 + .nr_regions = 1,
27 + .regions = {
28 + ERASEINFO(0x01000,16),
29 + }
30 + }, {
31 + .mfr_id = MANUFACTURER_PMC,
32 + .dev_id = PM39LV010,
33 + .name = "PMC Pm39LV010",
34 + .devtypes = CFI_DEVICETYPE_X8,
35 + .uaddr = MTD_UADDR_0x0555_0x02AA,
36 + .dev_size = SIZE_128KiB,
37 + .cmd_set = P_ID_AMD_STD,
38 + .nr_regions = 1,
39 + .regions = {
40 + ERASEINFO(0x01000,32),
41 + }
42 + }, {
43 + .mfr_id = MANUFACTURER_PMC,
44 + .dev_id = PM39LV020,
45 + .name = "PMC Pm39LV020",
46 + .devtypes = CFI_DEVICETYPE_X8,
47 + .uaddr = MTD_UADDR_0x0555_0x02AA,
48 + .dev_size = SIZE_256KiB,
49 + .cmd_set = P_ID_AMD_STD,
50 + .nr_regions = 1,
51 + .regions = {
52 + ERASEINFO(0x01000,64),
53 + }
54 + }, {
55 + .mfr_id = MANUFACTURER_PMC,
56 + .dev_id = PM39LV040,
57 + .name = "PMC Pm39LV040",
58 + .devtypes = CFI_DEVICETYPE_X8,
59 + .uaddr = MTD_UADDR_0x0555_0x02AA,
60 + .dev_size = SIZE_512KiB,
61 + .cmd_set = P_ID_AMD_STD,
62 + .nr_regions = 1,
63 + .regions = {
64 + ERASEINFO(0x01000,128),
65 + }
66 }, {
67 .mfr_id = MANUFACTURER_PMC,
68 .dev_id = PM49FL002,
This page took 0.041947 seconds and 3 git commands to generate.