fix a little more of ppc
authorStefan Reinauer <stepan@openbios.org>
Thu, 11 Nov 2004 21:30:50 +0000 (21:30 +0000)
committerStefan Reinauer <stepan@openbios.org>
Thu, 11 Nov 2004 21:30:50 +0000 (21:30 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1781 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/arch/ppc/boot/linuxbios_table.c
src/arch/ppc/boot/linuxbios_table.h
src/arch/ppc/lib/cpuid.c
src/include/cpu/cpu.h
src/mainboard/totalimpact/briq/Options.lb

index 0866639f1e48f2c30b80a08395c8def62709663e..dd680bee72a58525e76216ddb023fd17d198216a 100644 (file)
@@ -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]);
index 42c0a07dac1822f1fac96f14906c029a2aee57ea..27bb79c5720f243ee78273b37be1dbe8d3efcdfe 100644 (file)
@@ -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);
 
index 0ff12774bd189f77fc49ad975be2427e82ec848e..22947226871de9eedcfe2912205c6e0d61178d2f 100644 (file)
@@ -3,6 +3,7 @@
 
 #include "ppc.h"
 #include "ppcreg.h"
+#include <device/device.h>
 #include <console/console.h>
 
 void display_cpuid(struct device *cpu)
index e211d990e04aa3f644fe348035d664b36990291f..e945d0ef9ebe7d5de79537285fe0f7463b398f6c 100644 (file)
@@ -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);
index 557290f8ff3d9a121fbd2d2513b4a26979c9610f..4c6f22980387d86d572d06aa27924ef65e8a0d28 100644 (file)
@@ -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