summaryrefslogtreecommitdiff
path: root/src/northbridge/motorola/mpc107/mpc107_smp.c
blob: 408a87fddbca859148559d2308c8acc9975b9ce5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include <pci.h>
#include "mpc107.h"

void
wait_for_other_cpus(void)
{
}

unsigned long
this_processors_id(void)
{
	u32 pic1;          

	pcibios_read_config_dword(0, 0, MPC107_PIC1, &pic1);
	return (pic1 & MPC107_PIC1_CF_MP_ID) >> 14;
}

unsigned long
processor_index(unsigned long id)
{
	return id;
}

void
startup_other_cpus(unsigned long *map)
{
}