[PATCH 3/4] ppc: bootm: relocate fdt to valid boot memory
Sascha Hauer
s.hauer at pengutronix.de
Thu Sep 5 08:21:08 EDT 2013
Hi Renaud,
On Tue, Sep 03, 2013 at 03:54:26PM +0100, Renaud Barbier wrote:
> 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.
>
> Signed-off-by: Renaud Barbier <renaud.barbier at ge.com>
> ---
> arch/ppc/include/asm/processor.h | 1 +
> arch/ppc/lib/ppclinux.c | 49 +++++++++++++++++++++++++++++++++++++-
> 2 files changed, 49 insertions(+), 1 deletions(-)
>
> diff --git a/arch/ppc/include/asm/processor.h b/arch/ppc/include/asm/processor.h
> index 04cfb60..6b9b7dd 100644
> --- a/arch/ppc/include/asm/processor.h
> +++ b/arch/ppc/include/asm/processor.h
> @@ -966,6 +966,7 @@ struct cpu_type {
> struct cpu_type *identify_cpu(u32 ver);
>
> #if defined(CONFIG_MPC85xx)
> +#define LINUX_TLB1_MAX_ADDR ((void *)(64 << 20))
I had to drop this patch as it breaks the pcm030 compilation. I have no
idea what the correct value for LINUX_TLB1_MAX_ADDR on MPC5200 is. Can
you send an updated patch?
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list