From 204f718fa3424df71497d54b8896ff9c2fe4aa4c Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 11 Nov 2004 21:30:50 +0000 Subject: fix a little more of ppc git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1781 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/ppc/boot/linuxbios_table.c | 2 +- src/arch/ppc/boot/linuxbios_table.h | 2 -- src/arch/ppc/lib/cpuid.c | 1 + src/include/cpu/cpu.h | 2 +- src/mainboard/totalimpact/briq/Options.lb | 6 ++++++ 5 files changed, 9 insertions(+), 4 deletions(-) (limited to 'src') 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 #include void display_cpuid(struct device *cpu) diff --git a/src/include/cpu/cpu.h b/src/include/cpu/cpu.h index e211d990e0..e945d0ef9e 100644 --- a/src/include/cpu/cpu.h +++ b/src/include/cpu/cpu.h @@ -2,7 +2,7 @@ #define CPU_CPU_H struct device; -#include +// #include void cpu_initialize(void); void initialize_cpus(struct bus *cpu_bus); diff --git a/src/mainboard/totalimpact/briq/Options.lb b/src/mainboard/totalimpact/briq/Options.lb index 557290f8ff..4c6f229803 100644 --- a/src/mainboard/totalimpact/briq/Options.lb +++ b/src/mainboard/totalimpact/briq/Options.lb @@ -32,6 +32,7 @@ uses STACK_SIZE uses HEAP_SIZE uses CONFIG_BRIQ_750FX uses CONFIG_BRIQ_7400 +uses CONFIG_SYS_CLK_FREQ uses MAINBOARD uses MAINBOARD_VENDOR @@ -90,6 +91,11 @@ default ROM_SIZE=1048576 default STACK_SIZE=0x10000 default HEAP_SIZE=0x10000 +## +## System clock +## +default CONFIG_SYS_CLK_FREQ=33 + # Sandpoint Demo Board ## Base of ROM default _ROMBASE=0xfff00000 -- cgit v1.2.3