Drop remainder of PPC port
[coreboot.git] / src / northbridge / motorola / mpc107 / mpc107_smp.c
1 #include <stdint.h>
2 #include <device/pci.h>
3 #include "mpc107.h"
4
5 void
6 wait_for_other_cpus(void)
7 {
8 }
9
10 unsigned long
11 this_processors_id(void)
12 {
13         uint32_t pic1;          
14         struct device *dev;
15
16         if ((dev = dev_find_slot(0, 0)) == 0)
17                 return 0;
18
19         pic1 = pci_read_config32(dev, MPC107_PIC1);
20         return (pic1 & MPC107_PIC1_CF_MP_ID) >> 14;
21 }
22
23 unsigned long
24 processor_index(unsigned long id)
25 {
26         return id;
27 }
28
29 void
30 startup_other_cpus(unsigned long *map)
31 {
32 }