diff options
Diffstat (limited to 'arch/powerpc/boot/wrapper')
-rwxr-xr-x | arch/powerpc/boot/wrapper | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper index c74531af72c0..14cd4bca8b8a 100755 --- a/arch/powerpc/boot/wrapper +++ b/arch/powerpc/boot/wrapper | |||
@@ -163,7 +163,7 @@ coff) | |||
163 | link_address='0x500000' | 163 | link_address='0x500000' |
164 | pie= | 164 | pie= |
165 | ;; | 165 | ;; |
166 | miboot|uboot) | 166 | miboot|uboot*) |
167 | # miboot and U-boot want just the bare bits, not an ELF binary | 167 | # miboot and U-boot want just the bare bits, not an ELF binary |
168 | ext=bin | 168 | ext=bin |
169 | objflags="-O binary" | 169 | objflags="-O binary" |
@@ -291,6 +291,26 @@ uboot) | |||
291 | fi | 291 | fi |
292 | exit 0 | 292 | exit 0 |
293 | ;; | 293 | ;; |
294 | uboot-obs600) | ||
295 | rm -f "$ofile" | ||
296 | # obs600 wants a multi image with an initrd, so we need to put a fake | ||
297 | # one in even when building a "normal" image. | ||
298 | if [ -n "$initrd" ]; then | ||
299 | real_rd="$initrd" | ||
300 | else | ||
301 | real_rd=`mktemp` | ||
302 | echo "\0" >>"$real_rd" | ||
303 | fi | ||
304 | ${MKIMAGE} -A ppc -O linux -T multi -C gzip -a $membase -e $membase \ | ||
305 | $uboot_version -d "$vmz":"$real_rd":"$dtb" "$ofile" | ||
306 | if [ -z "$initrd" ]; then | ||
307 | rm -f "$real_rd" | ||
308 | fi | ||
309 | if [ -z "$cacheit" ]; then | ||
310 | rm -f "$vmz" | ||
311 | fi | ||
312 | exit 0 | ||
313 | ;; | ||
294 | esac | 314 | esac |
295 | 315 | ||
296 | addsec() { | 316 | addsec() { |