- First stab at getting the ppc ports building and working.

- The sandpointx3+altimus has been consolidated into one directory for now.
- Added support for having different versions of the pci access functions
  on a per bus basis if needed.
  Hopefully I have not broken something inadvertently.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1786 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Eric Biederman
2004-11-18 22:38:08 +00:00
parent bec8acedf1
commit a9e632c2ac
62 changed files with 1467 additions and 322 deletions

View File

@ -19,3 +19,5 @@ initinclude "FAMILY_INIT" cpu/ppc/mpc74xx/mpc74xx.inc
object cache.S
initobject cache.S
dir /cpu/simple_init

View File

@ -24,3 +24,4 @@ object mem.o
object clock.o
object cache.S
dir /cpu/simple_init

View File

@ -21,3 +21,5 @@ object clock.o
object cache.S
initobject clock.o
initobject cache.S
dir /cpu/simple_init

View File

@ -1,7 +1,7 @@
#include <linux/console.h>
#include <console/console.h>
#include <device/device.h>
#include <device/path.h>
#include <device/cpu.h>
#include <cpu/cpu.h>
#if CONFIG_SMP
#error "This Configuration does not support SMP"
@ -16,10 +16,11 @@ void initialize_cpus(struct bus *cpu_bus)
info = cpu_info();
/* Get the device path of the boot cpu */
cpu_path.type = DEVICE_PATH_BOOT_CPU;
cpu_path.type = DEVICE_PATH_CPU;
cpu_path.u.cpu.id = 0;
/* Find the device struct for the boot cpu */
info->cpu = alloc_find_dev(bus, &cpu_path);
info->cpu = alloc_find_dev(cpu_bus, &cpu_path);
/* Initialize the bootstrap processor */
cpu_initialize();

View File

@ -301,7 +301,8 @@ void initialize_cpus(struct bus *cpu_bus)
cpu_path.u.apic.apic_id = lapicid();
#else
/* Get the device path of the boot cpu */
cpu_path.type = DEVICE_PATH_DEFAULT_CPU;
cpu_path.type = DEVICE_PATH_CPU;
cpu_path.u.cpu.id = 0;
#endif
/* Find the device structure for the boot cpu */