ppc: bootm: relocate fdt to valid boot memory
For the MPC85xx family of SOCs Linux expects any boot firmware
information to be passed in the first 64MiB of memory. This adds support
to ensure that the device tree is relocated to a valid location if it is
outside that address range.

For the other SOC family currently present in the ppc architecture, the
default is not to relocate as at Linux startup the virtual address
equals the physical address.

Signed-off-by: Renaud Barbier <renaud.barbier@ge.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 91a6805 commit 9d2745425e554c61a8cadf48e10de2220a16df19
@Renaud Barbier Renaud Barbier authored on 6 Sep 2013
Sascha Hauer committed on 9 Sep 2013
Showing 2 changed files
View
arch/ppc/include/asm/processor.h
View
arch/ppc/lib/ppclinux.c