From 7003ba4a88a847707c55d593e517eaa70fc8c63d Mon Sep 17 00:00:00 2001 From: Eric Biederman Date: Sat, 16 Oct 2004 06:20:29 +0000 Subject: - First stab at running linuxbios without the old static device tree. Things are close but not quite there yet. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1681 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/simple_init/simple_cpu_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cpu/simple_init') diff --git a/src/cpu/simple_init/simple_cpu_init.c b/src/cpu/simple_init/simple_cpu_init.c index 39b5832971..02eb73f391 100644 --- a/src/cpu/simple_init/simple_cpu_init.c +++ b/src/cpu/simple_init/simple_cpu_init.c @@ -7,7 +7,7 @@ #error "This Configuration does not support SMP" #endif -void initialize_cpus(device_t root) +void initialize_cpus(struct bus *cpu_bus) { struct device_path cpu_path; struct cpu_info *info; @@ -19,7 +19,7 @@ void initialize_cpus(device_t root) cpu_path.type = DEVICE_PATH_BOOT_CPU; /* Find the device struct for the boot cpu */ - info->cpu = alloc_find_dev(root->link[1], &cpu_path); + info->cpu = alloc_find_dev(bus, &cpu_path); /* Initialize the bootstrap processor */ cpu_initialize(); -- cgit v1.2.3