powerpc: Make coff boot wrapper load the kernel at 8M
authorPaul Mackerras <paulus@samba.org>
Sun, 23 Oct 2005 07:26:32 +0000 (17:26 +1000)
committerPaul Mackerras <paulus@samba.org>
Sun, 23 Oct 2005 07:26:32 +0000 (17:26 +1000)
commit85e568ea5843d455a0bcb682ad2c71abb50bdb80
tree64c2cdb54a5d4a2e3101278304b57ae370f7d688
parenta575b807172ca7d8850e6e979c8e83d4258e8c43
powerpc: Make coff boot wrapper load the kernel at 8M

Previously it claimed 7MB starting at the 9M point and loaded the
kernel there.  That meant that prom_init put the flattened device
tree above 16M.  On the 601 that caused the early device tree scan
to fail, since only 16MB are mapped with BATs on the 601.  Moving
this down to 8MB allows prom_init to put the flattened device tree
between 15M and 16M, so it works on the 601.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc/boot/openfirmware/coffmain.c