Merge branch 'for-2.6.24' of master.kernel.org:/pub/scm/linux/kernel/git/jwboyer...
Paul Mackerras [Thu, 8 Nov 2007 03:28:14 +0000 (14:28 +1100)]
1  2 
Documentation/powerpc/booting-without-of.txt
arch/powerpc/boot/wrapper

@@@ -281,25 -290,13 +289,15 @@@ ps3
  
      rm -f "$object/otheros.bld"
  
 +    ${CROSS}objcopy -O binary "$ofile" "$ofile.bin"
 +
-     msg=$(dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \
-         skip=$overlay_dest seek=$system_reset_kernel      \
-         count=$overlay_size bs=1 2>&1)
+     dd if="$ofile.bin" of="$ofile.bin" conv=notrunc   \
+         skip=$overlay_dest seek=$system_reset_kernel  \
+         count=$overlay_size bs=1
  
-     if [ $? -ne "0" ]; then
-        echo $msg
-        exit 1
-     fi
-     msg=$(dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \
-         skip=$system_reset_overlay seek=$overlay_dest     \
-         count=$overlay_size bs=1 2>&1)
-     if [ $? -ne "0" ]; then
-        echo $msg
-        exit 2
-     fi
+     dd if="$ofile.bin" of="$ofile.bin" conv=notrunc   \
+         skip=$system_reset_overlay seek=$overlay_dest \
+         count=$overlay_size bs=1
  
      gzip --force -9 --stdout "$ofile.bin" > "$object/otheros.bld"
      ;;