summaryrefslogtreecommitdiff
path: root/arch/powerpc/boot/wrapper
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2010-01-29 17:18:20 +0300
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-04-07 08:12:36 +0400
commit58706ef96fa10edad1ce492313c8314cd5916fbe (patch)
tree8fe16574b9654290909cccd2a53e4f602017a856 /arch/powerpc/boot/wrapper
parenta244b25217978ffd54d2cd87013b3cd564689462 (diff)
downloadlinux-58706ef96fa10edad1ce492313c8314cd5916fbe.tar.xz
powerpc: Add a new zImage for maple using a different link address
The maple platform failed to load because it's firmware could not take a link address of 0x4000000. A new platform type with a link address of 0x400000 had to be created for the maple. Signed-off-by: Corey Minyard <cminyard@mvista.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/wrapper')
-rwxr-xr-xarch/powerpc/boot/wrapper6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper
index f4594ed09a20..7160b3b1fb35 100755
--- a/arch/powerpc/boot/wrapper
+++ b/arch/powerpc/boot/wrapper
@@ -149,6 +149,10 @@ pseries)
platformo=$object/of.o
link_address='0x4000000'
;;
+maple)
+ platformo=$object/of.o
+ link_address='0x400000'
+ ;;
pmac|chrp)
platformo=$object/of.o
;;
@@ -321,7 +325,7 @@ fi
# post-processing needed for some platforms
case "$platform" in
-pseries|chrp)
+pseries|chrp|maple)
$objbin/addnote "$ofile"
;;
coff)