diff options
author | Stefan Reinauer <stepan@openbios.org> | 2004-11-11 21:30:50 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2004-11-11 21:30:50 +0000 |
commit | 204f718fa3424df71497d54b8896ff9c2fe4aa4c (patch) | |
tree | 56ba257f22d7697f8767d9c6d47e0e08a02d091d /src/arch | |
parent | 8d41ad83befa12b905bdde5fb853898c3569f0e9 (diff) | |
download | coreboot-204f718fa3424df71497d54b8896ff9c2fe4aa4c.tar.xz |
fix a little more of ppc
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1781 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/ppc/boot/linuxbios_table.c | 2 | ||||
-rw-r--r-- | src/arch/ppc/boot/linuxbios_table.h | 2 | ||||
-rw-r--r-- | src/arch/ppc/lib/cpuid.c | 1 |
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) |