]> git.baikalelectronics.ru Git - kernel.git/commit
of/address: Merge all of the bus translation code
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 8 Jun 2010 13:48:10 +0000 (07:48 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 5 Jul 2010 22:14:26 +0000 (16:14 -0600)
commitc90276de2fda4f17be87eed31784984f5d81a9a8
treec0f571b0ab57a6483bc07e21e3b888e253d699ea
parent32510c0b8a0c4a13da9147e12fc95c1041e41aaf
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 <grant.likely@secretlab.ca>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: Michal Simek <monstr@monstr.eu>
CC: Wolfram Sang <w.sang@pengutronix.de>
CC: Stephen Rothwell <sfr@canb.auug.org.au>
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