summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
-rw-r--r--src/include/cpu/cpu.h2
-rw-r--r--src/mainboard/totalimpact/briq/Options.lb6
5 files changed, 9 insertions, 4 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)
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 <arch/cpu.h>
+// #include <arch/cpu.h>
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