1. 30 10月, 2007 1 次提交
  2. 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
  3. 13 9月, 2007 1 次提交
  4. 01 8月, 2007 1 次提交
  5. 09 5月, 2007 1 次提交
  6. 02 5月, 2007 1 次提交
  7. 26 4月, 2007 1 次提交
  8. 13 4月, 2007 1 次提交
  9. 08 12月, 2006 1 次提交