diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-23 03:26:32 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-23 03:26:32 -0400 |
commit | 85e568ea5843d455a0bcb682ad2c71abb50bdb80 (patch) | |
tree | 64c2cdb54a5d4a2e3101278304b57ae370f7d688 /arch/ppc/boot | |
parent | a575b807172ca7d8850e6e979c8e83d4258e8c43 (diff) |
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>
Diffstat (limited to 'arch/ppc/boot')
-rw-r--r-- | arch/ppc/boot/openfirmware/coffmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/boot/openfirmware/coffmain.c b/arch/ppc/boot/openfirmware/coffmain.c index 04ba9d57e110..2da8855e2be0 100644 --- a/arch/ppc/boot/openfirmware/coffmain.c +++ b/arch/ppc/boot/openfirmware/coffmain.c | |||
@@ -38,7 +38,7 @@ static char heap[SCRATCH_SIZE]; | |||
38 | static unsigned long ram_start = 0; | 38 | static unsigned long ram_start = 0; |
39 | static unsigned long ram_end = 0x1000000; | 39 | static unsigned long ram_end = 0x1000000; |
40 | 40 | ||
41 | static unsigned long prog_start = 0x900000; | 41 | static unsigned long prog_start = 0x800000; |
42 | static unsigned long prog_size = 0x700000; | 42 | static unsigned long prog_size = 0x700000; |
43 | 43 | ||
44 | typedef void (*kernel_start_t)(int, int, void *); | 44 | typedef void (*kernel_start_t)(int, int, void *); |