diff options
author | Corey Minyard <cminyard@mvista.com> | 2010-01-29 09:18:20 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-04-07 00:12:36 -0400 |
commit | 58706ef96fa10edad1ce492313c8314cd5916fbe (patch) | |
tree | 8fe16574b9654290909cccd2a53e4f602017a856 /arch/powerpc | |
parent | a244b25217978ffd54d2cd87013b3cd564689462 (diff) |
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')
-rw-r--r-- | arch/powerpc/boot/Makefile | 4 | ||||
-rwxr-xr-x | arch/powerpc/boot/wrapper | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile index bb2465bcb32..25e889c0c06 100644 --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile | |||
@@ -169,7 +169,7 @@ quiet_cmd_wrap = WRAP $@ | |||
169 | $(if $3, -s $3)$(if $4, -d $4)$(if $5, -i $5) vmlinux | 169 | $(if $3, -s $3)$(if $4, -d $4)$(if $5, -i $5) vmlinux |
170 | 170 | ||
171 | image-$(CONFIG_PPC_PSERIES) += zImage.pseries | 171 | image-$(CONFIG_PPC_PSERIES) += zImage.pseries |
172 | image-$(CONFIG_PPC_MAPLE) += zImage.pseries | 172 | image-$(CONFIG_PPC_MAPLE) += zImage.maple |
173 | image-$(CONFIG_PPC_IBM_CELL_BLADE) += zImage.pseries | 173 | image-$(CONFIG_PPC_IBM_CELL_BLADE) += zImage.pseries |
174 | image-$(CONFIG_PPC_PS3) += dtbImage.ps3 | 174 | image-$(CONFIG_PPC_PS3) += dtbImage.ps3 |
175 | image-$(CONFIG_PPC_CELLEB) += zImage.pseries | 175 | image-$(CONFIG_PPC_CELLEB) += zImage.pseries |
@@ -351,7 +351,7 @@ install: $(CONFIGURE) $(addprefix $(obj)/, $(image-y)) | |||
351 | clean-files += $(image-) $(initrd-) cuImage.* dtbImage.* treeImage.* \ | 351 | clean-files += $(image-) $(initrd-) cuImage.* dtbImage.* treeImage.* \ |
352 | zImage zImage.initrd zImage.chrp zImage.coff zImage.holly \ | 352 | zImage zImage.initrd zImage.chrp zImage.coff zImage.holly \ |
353 | zImage.iseries zImage.miboot zImage.pmac zImage.pseries \ | 353 | zImage.iseries zImage.miboot zImage.pmac zImage.pseries \ |
354 | simpleImage.* otheros.bld *.dtb | 354 | zImage.maple simpleImage.* otheros.bld *.dtb |
355 | 355 | ||
356 | # clean up files cached by wrapper | 356 | # clean up files cached by wrapper |
357 | clean-kernel := vmlinux.strip vmlinux.bin | 357 | clean-kernel := vmlinux.strip vmlinux.bin |
diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper index f4594ed09a2..7160b3b1fb3 100755 --- a/arch/powerpc/boot/wrapper +++ b/arch/powerpc/boot/wrapper | |||
@@ -149,6 +149,10 @@ pseries) | |||
149 | platformo=$object/of.o | 149 | platformo=$object/of.o |
150 | link_address='0x4000000' | 150 | link_address='0x4000000' |
151 | ;; | 151 | ;; |
152 | maple) | ||
153 | platformo=$object/of.o | ||
154 | link_address='0x400000' | ||
155 | ;; | ||
152 | pmac|chrp) | 156 | pmac|chrp) |
153 | platformo=$object/of.o | 157 | platformo=$object/of.o |
154 | ;; | 158 | ;; |
@@ -321,7 +325,7 @@ fi | |||
321 | 325 | ||
322 | # post-processing needed for some platforms | 326 | # post-processing needed for some platforms |
323 | case "$platform" in | 327 | case "$platform" in |
324 | pseries|chrp) | 328 | pseries|chrp|maple) |
325 | $objbin/addnote "$ofile" | 329 | $objbin/addnote "$ofile" |
326 | ;; | 330 | ;; |
327 | coff) | 331 | coff) |