Pull thermal into release branch
[linux-drm-fsl-dcu.git] / arch / powerpc / boot / wrapper
index 1ea208096b1501f7931abbfe4d53092641bf903a..2ed8b8b3f0ec0f10c1764017969b622c71718ba3 100755 (executable)
@@ -231,4 +231,12 @@ cuboot*)
     mkimage -A ppc -O linux -T kernel -C gzip -a "$base" -e "$entry" \
             $uboot_version -d "$ofile".bin.gz "$ofile"
     ;;
+treeboot*)
+    mv "$ofile" "$ofile.elf"
+    $object/mktree "$ofile.elf" "$ofile" "$base" "$entry"
+    if [ -z "$cacheit" ]; then
+       rm -f "$ofile.elf"
+    fi
+    exit 0
+    ;;
 esac