From 4f1cb2342630e806399b2febafc8c215a8bf6059 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 19 Jul 2006 15:32:49 +0000 Subject: 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 --- src/arch/ppc/boot/linuxbios_table.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arch/ppc/boot/linuxbios_table.c') 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 -- cgit v1.2.3