[PATCH 0/5] Merge common address translation code (ppc & mb)

Grant Likely grant.likely at secretlab.ca
Wed Jun 9 00:12:03 EST 2010


These five patches merge common code for decoding address ranges from
the device tree.  Simple mechanical change.  There should be no functional
difference except for the last patch which restricts the no-ranges code
to be powerpc-only.

These patches are based on top of the IRQ merge which I posted earlier.
If you want to test them, I've pushed the commits out to the here:

git://git.secretlab.ca/git/linux-2.6 devicetree-test

Cheers,
g.

---

Grant Likely (5):
     of/address: merge of_iomap()
     of/address: merge of_address_to_resource()
     of/address: Merge all of the bus translation code
     of/address: little-endian fixes
     of/address: restrict 'no-ranges' kludge to powerpc


 arch/microblaze/include/asm/pci-bridge.h |    5
 arch/microblaze/include/asm/prom.h       |   31 +-
 arch/microblaze/kernel/prom_parse.c      |  546 ----------------------------
 arch/powerpc/include/asm/pci-bridge.h    |    5
 arch/powerpc/include/asm/prom.h          |   31 +-
 arch/powerpc/kernel/prom_parse.c         |  573 -----------------------------
 drivers/of/Kconfig                       |    4
 drivers/of/Makefile                      |    1
 drivers/of/address.c                     |  595 ++++++++++++++++++++++++++++++
 include/linux/of_address.h               |   12 +
 10 files changed, 634 insertions(+), 1169 deletions(-)
 create mode 100644 drivers/of/address.c
 create mode 100644 include/linux/of_address.h



-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.


More information about the Linuxppc-dev mailing list