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