summaryrefslogtreecommitdiff
path: root/src/arch/ppc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/ppc')
-rw-r--r--src/arch/ppc/boot/linuxbios_table.c4
-rw-r--r--src/arch/ppc/boot/tables.c2
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();
}