[POWERPC] More bootwrapper reorganization

More reorganization of the bootwrapper:
- Add dtb section to zImage
- ft_init now called by platform_init
- Pack a flat dt before calling kernel
- Remove size parameter from free
- printf only calls console_ops.write it its not NULL
- Some cleanup

Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Mark A. Greer
2006-10-16 13:49:27 -07:00
committed by Paul Mackerras
parent b0a779debd
commit c888554bf9
7 changed files with 34 additions and 42 deletions

View File

@@ -179,11 +179,11 @@ if [ -z "$cacheit" ]; then
fi
if [ -n "$initrd" ]; then
addsec $tmp "$initrd" initrd
addsec $tmp "$initrd" $isection
fi
if [ -n "$dtb" ]; then
addsec $tmp "$dtb" dtb
addsec $tmp "$dtb" .kernel:dtb
fi
if [ "$platform" != "miboot" ]; then