blob: 87bac3715268df45949dc892f68d610450c1e17d [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
Peter Tyser5ccd29c2009-10-23 15:55:47 -05006ulong get_spin_phys_addr(void);
7ulong get_spin_virt_addr(void);
Kumar Galaec2b74f2008-01-17 16:48:33 -06008u32 get_my_id(void);
Aaron Sierra9d64c6b2010-09-30 12:22:16 -05009int hold_cores_in_reset(int verbose);
Kumar Galaec2b74f2008-01-17 16:48:33 -060010
Kumar Gala79679d82008-03-26 08:34:25 -050011#define BOOT_ENTRY_ADDR_UPPER 0
12#define BOOT_ENTRY_ADDR_LOWER 1
13#define BOOT_ENTRY_R3_UPPER 2
14#define BOOT_ENTRY_R3_LOWER 3
15#define BOOT_ENTRY_RESV 4
16#define BOOT_ENTRY_PIR 5
17#define BOOT_ENTRY_R6_UPPER 6
18#define BOOT_ENTRY_R6_LOWER 7
19#define NUM_BOOT_ENTRY 8
20#define SIZE_BOOT_ENTRY (NUM_BOOT_ENTRY * sizeof(u32))
21
Kumar Galaec2b74f2008-01-17 16:48:33 -060022#endif