of/address: Merge all of the bus translation code
authorGrant Likely <[email protected]>
Tue, 8 Jun 2010 13:48:10 +0000 (07:48 -0600)
committerGrant Likely <[email protected]>
Mon, 5 Jul 2010 22:14:26 +0000 (16:14 -0600)
commitdbbdee94734bf6f1db7af42008a53655e77cab8f
treec0f571b0ab57a6483bc07e21e3b888e253d699ea
parent1f5bef30cf6c66f097ea5dfc580a41924df888d1
of/address: Merge all of the bus translation code

Microblaze and PowerPC share a large chunk of code for translating
OF device tree data into usable addresses.  Differences between the two
consist of cosmetic differences, and the addition of dma-ranges support
code to powerpc but not microblaze.  This patch moves the powerpc
version into common code and applies many of the cosmetic (non-functional)
changes from the microblaze version.

Signed-off-by: Grant Likely <[email protected]>
Acked-by: Benjamin Herrenschmidt <[email protected]>
CC: Michal Simek <[email protected]>
CC: Wolfram Sang <[email protected]>
CC: Stephen Rothwell <[email protected]>
arch/microblaze/include/asm/prom.h
arch/microblaze/kernel/prom_parse.c
arch/powerpc/include/asm/prom.h
arch/powerpc/kernel/prom_parse.c
drivers/of/address.c
include/linux/of_address.h