fix a little more of ppc

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1781 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2004-11-11 21:30:50 +00:00
parent 8d41ad83be
commit 204f718fa3
5 changed files with 9 additions and 4 deletions

View File

@ -129,7 +129,7 @@ void lb_strings(struct lb_header *header)
} }
void lb_memory_range(struct lb_memory *mem, 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; int entries;
entries = (mem->size - sizeof(*mem))/sizeof(mem->map[0]); entries = (mem->size - sizeof(*mem))/sizeof(mem->map[0]);

View File

@ -7,8 +7,6 @@ struct mem_range;
/* This file holds function prototypes for building the linuxbios table. */ /* This file holds function prototypes for building the linuxbios table. */
unsigned long write_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 low_table_start, unsigned long low_table_end,
unsigned long rom_table_start, unsigned long rom_table_end); unsigned long rom_table_start, unsigned long rom_table_end);

View File

@ -3,6 +3,7 @@
#include "ppc.h" #include "ppc.h"
#include "ppcreg.h" #include "ppcreg.h"
#include <device/device.h>
#include <console/console.h> #include <console/console.h>
void display_cpuid(struct device *cpu) void display_cpuid(struct device *cpu)

View File

@ -2,7 +2,7 @@
#define CPU_CPU_H #define CPU_CPU_H
struct device; struct device;
#include <arch/cpu.h> // #include <arch/cpu.h>
void cpu_initialize(void); void cpu_initialize(void);
void initialize_cpus(struct bus *cpu_bus); void initialize_cpus(struct bus *cpu_bus);

View File

@ -32,6 +32,7 @@ uses STACK_SIZE
uses HEAP_SIZE uses HEAP_SIZE
uses CONFIG_BRIQ_750FX uses CONFIG_BRIQ_750FX
uses CONFIG_BRIQ_7400 uses CONFIG_BRIQ_7400
uses CONFIG_SYS_CLK_FREQ
uses MAINBOARD uses MAINBOARD
uses MAINBOARD_VENDOR uses MAINBOARD_VENDOR
@ -90,6 +91,11 @@ default ROM_SIZE=1048576
default STACK_SIZE=0x10000 default STACK_SIZE=0x10000
default HEAP_SIZE=0x10000 default HEAP_SIZE=0x10000
##
## System clock
##
default CONFIG_SYS_CLK_FREQ=33
# Sandpoint Demo Board # Sandpoint Demo Board
## Base of ROM ## Base of ROM
default _ROMBASE=0xfff00000 default _ROMBASE=0xfff00000