summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/ppc/boot/linuxbios_table.c2
-rw-r--r--src/arch/ppc/boot/linuxbios_table.h2
-rw-r--r--src/arch/ppc/lib/cpuid.c1
3 files changed, 2 insertions, 3 deletions
diff --git a/src/arch/ppc/boot/linuxbios_table.c b/src/arch/ppc/boot/linuxbios_table.c
index 0866639f1e..dd680bee72 100644
--- a/src/arch/ppc/boot/linuxbios_table.c
+++ b/src/arch/ppc/boot/linuxbios_table.c
@@ -129,7 +129,7 @@ void lb_strings(struct lb_header *header)
}
void lb_memory_range(struct lb_memory *mem,
- uint32_t type, uint64_t start, uint64_t size)
+ uint32_t type, unsigned long start, unsigned long size)
{
int entries;
entries = (mem->size - sizeof(*mem))/sizeof(mem->map[0]);
diff --git a/src/arch/ppc/boot/linuxbios_table.h b/src/arch/ppc/boot/linuxbios_table.h
index 42c0a07dac..27bb79c572 100644
--- a/src/arch/ppc/boot/linuxbios_table.h
+++ b/src/arch/ppc/boot/linuxbios_table.h
@@ -7,8 +7,6 @@ struct mem_range;
/* This file holds function prototypes for building the linuxbios table. */
unsigned long write_linuxbios_table(
- unsigned long *processor_map,
- struct mem_range *ram,
unsigned long low_table_start, unsigned long low_table_end,
unsigned long rom_table_start, unsigned long rom_table_end);
diff --git a/src/arch/ppc/lib/cpuid.c b/src/arch/ppc/lib/cpuid.c
index 0ff12774bd..2294722687 100644
--- a/src/arch/ppc/lib/cpuid.c
+++ b/src/arch/ppc/lib/cpuid.c
@@ -3,6 +3,7 @@
#include "ppc.h"
#include "ppcreg.h"
+#include <device/device.h>
#include <console/console.h>
void display_cpuid(struct device *cpu)