1. 03 2月, 2008 1 次提交
  2. 11 1月, 2008 1 次提交
  3. 08 1月, 2008 1 次提交
  4. 28 11月, 2007 1 次提交
    • S
      [MTD] fix CONFIG_MTD_SHARP_SL if CONFIG_MTD=m · 73061e4c
      Stanislav Brabec 提交于
      Sharp Zaurus SL-C3200 with CONFIG_MTD=m and CONFIG_MTD_SHARP_SL=y (as it
      is bool) lost support for the ROM flash. With CONFIG_MTD=y it has no
      problems.
      
      It is caused by losing of compiled code of
      drivers/mtd/maps/sharpsl-flash.o.
      It was linked to drivers/mtd/maps/built-in.o and drivers/mtd/built-in.o,
      but lost and not linked to drivers/built-in.o (because CONFIG_MTD!=y).
      
      Patch below fixes this problem by creating sharpsl-flash.ko (and the
      code works correctly as a module).
      Signed-off-by: NStanislav Brabec <utx@penguin.cz>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      73061e4c
  5. 30 10月, 2007 1 次提交
  6. 20 10月, 2007 1 次提交
  7. 16 10月, 2007 1 次提交
    • L
      Reinstate lost flush_ioremap_region() fix to pxa2xx-flash driver · 355aaffd
      Linus Torvalds 提交于
      Commit 90833fda ("[ARM] 4554/1: replace
      consistent_sync() with flush_ioremap_region()") introduced a new
      "flush_ioremap_region()" function to be used by the MTD mainstone-flash
      and lubbock-flash drivers to fix a regression from around 2.6.18.
      
      Those drivers were independently merged into a single driver by Todd
      Poynor in commit e644f7d6 ("[MTD] MAPS:
      Merge Lubbock and Mainstone drivers into common PXA2xx driver")
      
      Later, those two commits were merged into the main MTD tree by commit
      b160292c ("Merge Linux 2.6.23") by David
      Woodhouse, but in that merge, the fix to use flush_iomap_region() got
      lost (as it was to files that now no longer existed).
      
      This reinstates the fix in the new driver.
      Noticed-by: NRussell King <rmk@arm.linux.org.uk>
      Tested-and-acked-by: NNicolas Pitre <nico@cam.org>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Jared Hulbert <jaredeh@gmail.com>
      Cc: Todd Poynor <tpoynor@mvista.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      355aaffd
  8. 24 9月, 2007 2 次提交
  9. 20 9月, 2007 2 次提交
    • D
      [POWERPC] Cleanups for physmap_of.c (v2) · c4d5e375
      David Gibson 提交于
      This patch includes a whole batch of smallish cleanups for
      drivers/mtd/physmap_of.c.
      
      	- A bunch of uneeded #includes are removed
      	- We switch to the modern linux/of.h etc. in place of
      asm/prom.h
      	- Use some helper macros to avoid some ugly inline #ifdefs
      	- A few lines of unreachable code are removed
      	- A number of indentation / line-wrapping fixes
      	- More consistent use of kernel idioms such as if (!p) instead
      of if (p == NULL)
      	- Clarify some printk()s and other informative strings.
      	- parse_obsolete_partitions() now returns 0 if no partition
      information is found, instead of returning -ENOENT which the caller
      had to handle specially.
      	- (the big one) Despite the name, this driver really has
      nothing to do with drivers/mtd/physmap.c.  The fact that the flash
      chips must be physically direct mapped is a constrant, but doesn't
      really say anything about the actual purpose of this driver, which is
      to instantiate MTD devices based on information from the device tree.
      Therefore the physmap name is replaced everywhere within the file with
      "of_flash".  The file itself and the Kconfig option is not renamed for
      now (so that the diff is actually a diff).  That can come later.
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NJosh Boyer <jwboyer@linux.vnet.ibm.com>
      c4d5e375
    • J
      [POWERPC] Make partitions optional in physmap_of · 8d9ae994
      Josh Boyer 提交于
      The latest physmap_of driver has a small error where it will fail the probe
      with:
      
      physmap-flash: probe of fff00000.small-flas failed with error -2
      
      if there are no partition subnodes in the device tree and the old style binding
      is not used.  Since partition definitions are optional, the probe should still
      succeed.
      Signed-off-by: NJosh Boyer <jwboyer@linux.vnet.ibm.com>
      Acked-by: NDavid Gibson <david@gibson.dropbear.id.au>
      8d9ae994
  10. 13 9月, 2007 1 次提交
  11. 10 9月, 2007 1 次提交
  12. 23 8月, 2007 3 次提交
  13. 17 8月, 2007 1 次提交
    • D
      [POWERPC] Fixes to allow use of Ebony's flash chips through physmap_of · 0d279d47
      David Gibson 提交于
      This patch contains a handful of small fixes to allow the Ebony's
      flash to be exposed as MTD devices via the physmap_of driver.
      Specifically it:
      	- Makes a small addition to the device tree and zImage wrapper
      to record the correct address for the flash in the device tree based
      on the board switches as reported via an FPGA register.
      	- Prohibits building the old hard-coded "Ebony" flash map on
      arch/powerpc kernels, in favour of using physmap_of's device tree
      based approach.
      	- Enables MTD and physmap_of in the Ebony defconfig.
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      0d279d47
  14. 01 8月, 2007 2 次提交
  15. 27 7月, 2007 1 次提交
  16. 23 7月, 2007 1 次提交
  17. 11 7月, 2007 1 次提交
  18. 29 6月, 2007 2 次提交
  19. 11 5月, 2007 1 次提交
  20. 09 5月, 2007 4 次提交
  21. 02 5月, 2007 1 次提交
  22. 28 4月, 2007 1 次提交
  23. 26 4月, 2007 3 次提交
  24. 20 4月, 2007 1 次提交
  25. 18 4月, 2007 2 次提交
  26. 13 4月, 2007 1 次提交
  27. 03 4月, 2007 1 次提交
  28. 08 3月, 2007 1 次提交