blob: 2c2929eb0d2bd65abca838d29c8eb2a48d2340cd [file] [log] [blame]
Kumar Galaec2b74f2008-01-17 16:48:33 -06001#ifndef __MPC85XX_MP_H_
2#define __MPC85XX_MP_H_
3
Kumar Galac840d262009-03-31 23:11:05 -05004#include <asm/mp.h>
5
Kumar Galaec2b74f2008-01-17 16:48:33 -06006ulong get_spin_addr(void);
Kumar Galaec2b74f2008-01-17 16:48:33 -06007u32 get_my_id(void);
8
Kumar Gala79679d82008-03-26 08:34:25 -05009#define BOOT_ENTRY_ADDR_UPPER 0
10#define BOOT_ENTRY_ADDR_LOWER 1
11#define BOOT_ENTRY_R3_UPPER 2
12#define BOOT_ENTRY_R3_LOWER 3
13#define BOOT_ENTRY_RESV 4
14#define BOOT_ENTRY_PIR 5
15#define BOOT_ENTRY_R6_UPPER 6
16#define BOOT_ENTRY_R6_LOWER 7
17#define NUM_BOOT_ENTRY 8
18#define SIZE_BOOT_ENTRY (NUM_BOOT_ENTRY * sizeof(u32))
19
Kumar Galaec2b74f2008-01-17 16:48:33 -060020#endif