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