Advertisement
Squonk42

OpenWrt Add PM26LQ032 Flash Support

Dec 21st, 2012
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.78 KB | None | 0 0
  1. Index: target/linux/generic/patches-3.6/472-mtd_mp25p80_add_pm25lq032.patch
  2. ===================================================================
  3. --- target/linux/generic/patches-3.6/472-mtd_mp25p80_add_pm25lq032.patch    (revision 0)
  4. +++ target/linux/generic/patches-3.6/472-mtd_mp25p80_add_pm25lq032.patch    (revision 0)
  5. @@ -0,0 +1,10 @@
  6. +--- a/drivers/mtd/devices/m25p80.c
  7. ++++ b/drivers/mtd/devices/m25p80.c
  8. +@@ -698,6 +698,7 @@
  9. +   /* PMC -- pm25x "blocks" are 32K, sectors are 4K */
  10. +   { "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K_PMC) },
  11. +   { "pm25lv010", INFO(0, 0, 32 * 1024, 4, SECT_4K_PMC) },
  12. ++  { "pm25lq032", INFO(0x7F9D46, 0, 64 * 1024,  64, SECT_4K) },
  13. +
  14. +   /* Spansion -- single (large) sector size only, at least
  15. +    * for the chips listed here (without boot sectors).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement