1. 03 Oct, 2007 10 commits
  2. 02 Oct, 2007 12 commits
  3. 22 Sep, 2007 15 commits
  4. 20 Sep, 2007 3 commits
    • David Gibson's avatar
      [POWERPC] Cleanups for physmap_of.c (v2) · c4d5e375
      David Gibson authored
      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: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: default avatarJosh Boyer <jwboyer@linux.vnet.ibm.com>
      c4d5e375
    • Valentine Barshak's avatar
      [POWERPC] 4xx: Fix Sequoia MAL0 and EMAC dts entries. · bd0076cc
      Valentine Barshak authored
      According to PowerPC 440EPx documentation,
      MAL0 is comprised of four channels (two transmit and two receive).
      Each channel is dedicated to one of two EMAC cores.
      This patch fixes Sequoia DTS MAL0 entry and EMAC entries,
      assigning correct channel numbers to EMACs.
      Signed-off-by: default avatarValentine Barshak <vbarshak@ru.mvista.com>
      Signed-off-by: default avatarJosh Boyer <jwboyer@linux.vnet.ibm.com>
      bd0076cc
    • Valentine Barshak's avatar
      [POWERPC] 4xx: Fix Bamboo MAL0 dts entry. · e52f5677
      Valentine Barshak authored
      According to PowerPC 440EP documentation,
      MAL0 consists of 6 channels (4 transmit channels and 2 receive channels)
      This patch fixes Bamboo DTS MAL0 "num-rx-chans" entry.
      Signed-off-by: default avatarValentine Barshak <vbarshak@ru.mvista.com>
      Signed-off-by: default avatarJosh Boyer <jwboyer@linux.vnet.ibm.com>
      e52f5677