01 Aug, 2010
1 commit
-
This patch moves the declaration of of_get_address(), of_get_pci_address(),
and of_pci_address_to_resource() out of arch code and into the common
linux/of_address header file.This patch also fixes some of the asm/prom.h ordering issues. It still
includes some header files that it ideally shouldn't be, but at least the
ordering is consistent now so that of_* overrides work.Signed-off-by: Grant Likely
06 Jul, 2010
3 commits
-
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
Acked-by: Benjamin Herrenschmidt
CC: Michal Simek
CC: Wolfram Sang
CC: Stephen Rothwell -
Merge common code between PowerPC and Microblaze. This patch also
moves the prototype of pci_address_to_pio() out of pci-bridge.h and
into prom.h because the only user of pci_address_to_pio() is
of_address_to_resource().Signed-off-by: Grant Likely
Acked-by: Benjamin Herrenschmidt
CC: Michal Simek
CC: Stephen Rothwell -
Merge common code between Microblaze and PowerPC. This patch creates
new of_address.h and address.c files to containing address translation
and mapping routines. First routine to be moved it of_iomap()Signed-off-by: Grant Likely
Acked-by: Benjamin Herrenschmidt
CC: Michal Simek
CC: Stephen Rothwell