xref: /openbmc/u-boot/arch/powerpc/cpu/mpc85xx/mp.h (revision e77e65df)
1 #ifndef __MPC85XX_MP_H_
2 #define __MPC85XX_MP_H_
3 
4 #include <asm/mp.h>
5 
6 phys_addr_t get_spin_phys_addr(void);
7 u32 get_my_id(void);
8 int hold_cores_in_reset(int verbose);
9 
10 #define BOOT_ENTRY_ADDR_UPPER	0
11 #define BOOT_ENTRY_ADDR_LOWER	1
12 #define BOOT_ENTRY_R3_UPPER	2
13 #define BOOT_ENTRY_R3_LOWER	3
14 #define BOOT_ENTRY_RESV		4
15 #define BOOT_ENTRY_PIR		5
16 #define BOOT_ENTRY_R6_UPPER	6
17 #define BOOT_ENTRY_R6_LOWER	7
18 #define NUM_BOOT_ENTRY		16	/* pad to 64 bytes */
19 #define SIZE_BOOT_ENTRY		(NUM_BOOT_ENTRY * sizeof(u32))
20 
21 #endif
22