LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Nate Case <ncase@xes-inc.com>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org, Nate Case <ncase@xes-inc.com>,
	David Gibson <david@gibson.dropbear.id.au>
Subject: [PATCH -next 4/4] powerpc/bootwrapper: Custom build options for XPedite52xx targets
Date: Thu, 11 Jun 2009 14:43:01 -0500	[thread overview]
Message-ID: <1244749381-17429-5-git-send-email-ncase@xes-inc.com> (raw)
In-Reply-To: <1244749381-17429-4-git-send-email-ncase@xes-inc.com>

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(-)

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"
-- 
1.6.0.4

  reply	other threads:[~2009-06-11 19:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-11 19:42 [PATCH v3 -next 0/0] powerpc/85xx: Support for X-ES MPC85xx boards Nate Case
2009-06-11 19:42 ` [PATCH -next 1/4] powerpc/85xx: Add platform support " Nate Case
2009-06-11 19:42   ` [PATCH -next 2/4] powerpc/85xx: Add dts files " Nate Case
2009-06-11 19:43     ` [PATCH -next 3/4] powerpc/85xx: Add defconfig " Nate Case
2009-06-11 19:43       ` Nate Case [this message]
2009-06-16  3:16         ` [PATCH -next 4/4] powerpc/bootwrapper: Custom build options for XPedite52xx targets Kumar Gala
2009-06-16  3:16       ` [PATCH -next 3/4] powerpc/85xx: Add defconfig for X-ES MPC85xx boards Kumar Gala
2009-06-16  3:16     ` [PATCH -next 2/4] powerpc/85xx: Add dts files " Kumar Gala
2009-06-16  3:16   ` [PATCH -next 1/4] powerpc/85xx: Add platform support " Kumar Gala

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1244749381-17429-5-git-send-email-ncase@xes-inc.com \
    --to=ncase@xes-inc.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=galak@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox