diff options
author | Stefan Reinauer <stepan@openbios.org> | 2006-07-19 15:32:49 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2006-07-19 15:32:49 +0000 |
commit | 4f1cb2342630e806399b2febafc8c215a8bf6059 (patch) | |
tree | 2eff2a16749e234a079a5fff3fdca4a6bc58c39b /src/arch/ppc | |
parent | e32243a9b1ee4b4008bed424908d98e99610b8ad (diff) | |
download | coreboot-4f1cb2342630e806399b2febafc8c215a8bf6059.tar.xz |
move mptable to 960k to 1M
https://openbios.org/roundup/linuxbios/issue55
This patch is a little bit enhanced, it keeps the ppc table consistent,
which Yinghai's original patch did not.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2342 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/ppc')
-rw-r--r-- | src/arch/ppc/boot/linuxbios_table.c | 4 | ||||
-rw-r--r-- | src/arch/ppc/boot/tables.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/ppc/boot/linuxbios_table.c b/src/arch/ppc/boot/linuxbios_table.c index 10d3b0ce9d..e8eefc6258 100644 --- a/src/arch/ppc/boot/linuxbios_table.c +++ b/src/arch/ppc/boot/linuxbios_table.c @@ -332,7 +332,7 @@ static struct lb_memory *build_lb_mem(struct lb_header *head) unsigned long write_linuxbios_table( unsigned long low_table_start, unsigned long low_table_end, - unsigned long rom_table_startk, unsigned long rom_table_endk) + unsigned long rom_table_start, unsigned long rom_table_end) { unsigned long table_size; struct lb_header *head; @@ -359,7 +359,7 @@ unsigned long write_linuxbios_table( /* Record the pirq table */ lb_add_memory_range(mem, LB_MEM_TABLE, - rom_table_startk << 10, (rom_table_endk - rom_table_startk) << 10); + rom_table_start, (rom_table_end - rom_table_start)); /* Note: * I assume that there is always memory at immediately after diff --git a/src/arch/ppc/boot/tables.c b/src/arch/ppc/boot/tables.c index 7d8bd318ba..6fde37da24 100644 --- a/src/arch/ppc/boot/tables.c +++ b/src/arch/ppc/boot/tables.c @@ -21,7 +21,7 @@ write_tables(void) /* The linuxbios table must be in 0-4K or 960K-1M */ write_linuxbios_table( low_table_start, low_table_end, - rom_table_start >> 10, rom_table_end >> 10); + rom_table_start, rom_table_end); return get_lb_mem(); } |