diff options
author | Eric Biederman <ebiederm@xmission.com> | 2004-11-18 22:38:08 +0000 |
---|---|---|
committer | Eric Biederman <ebiederm@xmission.com> | 2004-11-18 22:38:08 +0000 |
commit | a9e632c2ac29c60872e7e4f9314263b34ce5031d (patch) | |
tree | 2a76647833896d68306553c548a65743c87b417e /src/cpu/simple_init | |
parent | bec8acedf18b4d35f95b4a4c254eb925bd4d53bd (diff) | |
download | coreboot-a9e632c2ac29c60872e7e4f9314263b34ce5031d.tar.xz |
- 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
Diffstat (limited to 'src/cpu/simple_init')
-rw-r--r-- | src/cpu/simple_init/simple_cpu_init.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/cpu/simple_init/simple_cpu_init.c b/src/cpu/simple_init/simple_cpu_init.c index 02eb73f391..e0a80c6820 100644 --- a/src/cpu/simple_init/simple_cpu_init.c +++ b/src/cpu/simple_init/simple_cpu_init.c @@ -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(); |