diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-04-23 20:14:48 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-04-23 20:14:48 +0000 |
commit | 8b82de7aa00be10315a8d1c514e3026ab590ce88 (patch) | |
tree | 643cfcebbb3de70623160f3bdea175c18676f3cd /target/linux/ar71xx/patches-2.6.29/100-mtd_m25p80_add_pm25lv_flash_support.patch | |
parent | b60fc68fa8587e17dc555b9163a86a3dbf93c922 (diff) | |
download | upstream-8b82de7aa00be10315a8d1c514e3026ab590ce88.tar.gz upstream-8b82de7aa00be10315a8d1c514e3026ab590ce88.tar.bz2 upstream-8b82de7aa00be10315a8d1c514e3026ab590ce88.zip |
add initial support for 2.6.29
SVN-Revision: 15357
Diffstat (limited to 'target/linux/ar71xx/patches-2.6.29/100-mtd_m25p80_add_pm25lv_flash_support.patch')
-rw-r--r-- | target/linux/ar71xx/patches-2.6.29/100-mtd_m25p80_add_pm25lv_flash_support.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-2.6.29/100-mtd_m25p80_add_pm25lv_flash_support.patch b/target/linux/ar71xx/patches-2.6.29/100-mtd_m25p80_add_pm25lv_flash_support.patch new file mode 100644 index 0000000000..07a5b0b71b --- /dev/null +++ b/target/linux/ar71xx/patches-2.6.29/100-mtd_m25p80_add_pm25lv_flash_support.patch @@ -0,0 +1,13 @@ +--- a/drivers/mtd/devices/m25p80.c ++++ b/drivers/mtd/devices/m25p80.c +@@ -504,6 +504,10 @@ static struct flash_info __devinitdata m + { "at26df161a", 0x1f4601, 0, 64 * 1024, 32, SECT_4K, }, + { "at26df321", 0x1f4701, 0, 64 * 1024, 64, SECT_4K, }, + ++ /* PMC -- pm25x "blocks" are 32K, sectors are 4K */ ++ { "pm25lv512", 0, 32 * 1024, 2, SECT_4K }, ++ { "pm25lv010", 0, 32 * 1024, 4, SECT_4K }, ++ + /* Spansion -- single (large) sector size only, at least + * for the chips listed here (without boot sectors). + */ |