Patchwork [-next,4/4] powerpc/bootwrapper: Custom build options for XPedite52xx targets

login
register
mail settings
Submitter Nate Case
Date June 11, 2009, 7:43 p.m.
Message ID <1244749381-17429-5-git-send-email-ncase@xes-inc.com>
Download mbox | patch
Permalink /patch/28580/
State Accepted, archived
Commit 247608234e944e3e8e4d503c54c19ccb63dd27f2
Delegated to: Kumar Gala
Headers show

Comments

Nate Case - June 11, 2009, 7:43 p.m.
Some XPedite52xx boards have a legacy boot loader requiring some special
care in the boot wrapper.  The use of cuboot-85xx is needed to fix
up embedded device trees, and a custom link address is specified to
accommodate the boot loader and larger kernel image sizes used on X-ES
MPC85xx platforms.

Signed-off-by: Nate Case <ncase@xes-inc.com>
---
 arch/powerpc/boot/wrapper |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
Kumar Gala - June 16, 2009, 3:16 a.m.
On Jun 11, 2009, at 2:43 PM, Nate Case wrote:

> Some XPedite52xx boards have a legacy boot loader requiring some  
> special
> care in the boot wrapper.  The use of cuboot-85xx is needed to fix
> up embedded device trees, and a custom link address is specified to
> accommodate the boot loader and larger kernel image sizes used on X-ES
> MPC85xx platforms.
>
> Signed-off-by: Nate Case <ncase@xes-inc.com>
> ---
> arch/powerpc/boot/wrapper |    4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)


applied to next

- k

Patch

diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper
index 3ac75ae..4db487d 100755
--- a/arch/powerpc/boot/wrapper
+++ b/arch/powerpc/boot/wrapper
@@ -225,6 +225,10 @@  asp834x-redboot)
     platformo="$object/fixed-head.o $object/redboot-83xx.o"
     binary=y
     ;;
+xpedite52*)
+    link_address='0x1400000'
+    platformo=$object/cuboot-85xx.o
+    ;;
 esac
 
 vmz="$tmpdir/`basename \"$kernel\"`.$ext"