summaryrefslogtreecommitdiff
path: root/src/cpu/simple_init/simple_cpu_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/simple_init/simple_cpu_init.c')
-rw-r--r--src/cpu/simple_init/simple_cpu_init.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/cpu/simple_init/simple_cpu_init.c b/src/cpu/simple_init/simple_cpu_init.c
deleted file mode 100644
index 2138497a04..0000000000
--- a/src/cpu/simple_init/simple_cpu_init.c
+++ /dev/null
@@ -1,27 +0,0 @@
-#include <console/console.h>
-#include <device/device.h>
-#include <device/path.h>
-#include <cpu/cpu.h>
-
-#if CONFIG_SMP
-#error "This Configuration does not support SMP"
-#endif
-
-void initialize_cpus(struct bus *cpu_bus)
-{
- struct device_path cpu_path;
- struct cpu_info *info;
-
- /* Find the info struct for this cpu */
- info = cpu_info();
-
- /* Get the device path of the boot cpu */
- cpu_path.type = DEVICE_PATH_CPU;
- cpu_path.cpu.id = 0;
-
- /* Find the device struct for the boot cpu */
- info->cpu = alloc_find_dev(cpu_bus, &cpu_path);
-
- /* Initialize the bootstrap processor */
- cpu_initialize();
-}