diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-06-17 14:30:18 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-06-17 14:30:18 +0000 |
commit | 13bb189a1500a306e8611b9e734eed8b8a46506e (patch) | |
tree | 5a28619b0bb967d37ebdb9a0ef0a7a40fa2747cc /target/linux/adm5120/patches/102-jedec_pmc_39lvxxx_chips.patch | |
parent | 2ccf25789e09a6745270c8976917f4ccd5c68797 (diff) | |
download | upstream-13bb189a1500a306e8611b9e734eed8b8a46506e.tar.gz upstream-13bb189a1500a306e8611b9e734eed8b8a46506e.tar.bz2 upstream-13bb189a1500a306e8611b9e734eed8b8a46506e.zip |
switch to 2.6.25.7
SVN-Revision: 11526
Diffstat (limited to 'target/linux/adm5120/patches/102-jedec_pmc_39lvxxx_chips.patch')
-rw-r--r-- | target/linux/adm5120/patches/102-jedec_pmc_39lvxxx_chips.patch | 46 |
1 files changed, 21 insertions, 25 deletions
diff --git a/target/linux/adm5120/patches/102-jedec_pmc_39lvxxx_chips.patch b/target/linux/adm5120/patches/102-jedec_pmc_39lvxxx_chips.patch index 0c512ea6a4..7f352f67ec 100644 --- a/target/linux/adm5120/patches/102-jedec_pmc_39lvxxx_chips.patch +++ b/target/linux/adm5120/patches/102-jedec_pmc_39lvxxx_chips.patch @@ -11,7 +11,7 @@ #define PM49FL002 0x006D #define PM49FL004 0x006E #define PM49FL008 0x006A -@@ -1264,6 +1268,58 @@ +@@ -1170,6 +1174,54 @@ ERASEINFO(0x02000,2), ERASEINFO(0x04000,1), } @@ -19,12 +19,11 @@ + .mfr_id = MANUFACTURER_PMC, + .dev_id = PM39LV512, + .name = "PMC Pm39LV512", -+ .uaddr = { -+ [0] = MTD_UADDR_0x0555_0x02AA /* x8 */ -+ }, -+ .DevSize = SIZE_64KiB, -+ .CmdSet = P_ID_AMD_STD, -+ .NumEraseRegions= 1, ++ .devtypes = CFI_DEVICETYPE_X8, ++ .uaddr = MTD_UADDR_0x0555_0x02AA, ++ .dev_size = SIZE_64KiB, ++ .cmd_set = P_ID_AMD_STD, ++ .nr_regions = 1, + .regions = { + ERASEINFO(0x01000,16), + } @@ -32,12 +31,11 @@ + .mfr_id = MANUFACTURER_PMC, + .dev_id = PM39LV010, + .name = "PMC Pm39LV010", -+ .uaddr = { -+ [0] = MTD_UADDR_0x0555_0x02AA /* x8 */ -+ }, -+ .DevSize = SIZE_128KiB, -+ .CmdSet = P_ID_AMD_STD, -+ .NumEraseRegions= 1, ++ .devtypes = CFI_DEVICETYPE_X8, ++ .uaddr = MTD_UADDR_0x0555_0x02AA, ++ .dev_size = SIZE_128KiB, ++ .cmd_set = P_ID_AMD_STD, ++ .nr_regions = 1, + .regions = { + ERASEINFO(0x01000,32), + } @@ -45,12 +43,11 @@ + .mfr_id = MANUFACTURER_PMC, + .dev_id = PM39LV020, + .name = "PMC Pm39LV020", -+ .uaddr = { -+ [0] = MTD_UADDR_0x0555_0x02AA /* x8 */ -+ }, -+ .DevSize = SIZE_256KiB, -+ .CmdSet = P_ID_AMD_STD, -+ .NumEraseRegions= 1, ++ .devtypes = CFI_DEVICETYPE_X8, ++ .uaddr = MTD_UADDR_0x0555_0x02AA, ++ .dev_size = SIZE_256KiB, ++ .cmd_set = P_ID_AMD_STD, ++ .nr_regions = 1, + .regions = { + ERASEINFO(0x01000,64), + } @@ -58,12 +55,11 @@ + .mfr_id = MANUFACTURER_PMC, + .dev_id = PM39LV040, + .name = "PMC Pm39LV040", -+ .uaddr = { -+ [0] = MTD_UADDR_0x0555_0x02AA /* x8 */ -+ }, -+ .DevSize = SIZE_512KiB, -+ .CmdSet = P_ID_AMD_STD, -+ .NumEraseRegions= 1, ++ .devtypes = CFI_DEVICETYPE_X8, ++ .uaddr = MTD_UADDR_0x0555_0x02AA, ++ .dev_size = SIZE_512KiB, ++ .cmd_set = P_ID_AMD_STD, ++ .nr_regions = 1, + .regions = { + ERASEINFO(0x01000,128), + } |