[POWERPC] Support for the Ebony 440GP reference board in arch/powerpc
This adds platform support code for the Ebony (440GP) evaluation board. This includes both code in arch/powerpc/platforms/44x for board initialization, and zImage wrapper code to correctly tweak the flattened device tree based on information from the firmware. The zImage supports both IBM OpenBIOS (aka "treeboot") and old versions of uboot which don't support a flattened device tree. Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
ea20ff5d03
commit
f6dfc80554
@@ -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
|
||||
|
Reference in New Issue
Block a user