Kumar Gala | 36d6b3f | 2008-01-17 16:48:33 -0600 | [diff] [blame] | 1 | #ifndef __MPC85XX_MP_H_ |
| 2 | #define __MPC85XX_MP_H_ |
| 3 | |
Kumar Gala | e1064b3 | 2009-03-31 23:11:05 -0500 | [diff] [blame] | 4 | #include <asm/mp.h> |
| 5 | |
Peter Tyser | 7feaacb | 2009-10-23 15:55:47 -0500 | [diff] [blame] | 6 | ulong get_spin_phys_addr(void); |
| 7 | ulong get_spin_virt_addr(void); |
Kumar Gala | 36d6b3f | 2008-01-17 16:48:33 -0600 | [diff] [blame] | 8 | u32 get_my_id(void); |
| 9 | |
Kumar Gala | deeac57 | 2008-03-26 08:34:25 -0500 | [diff] [blame] | 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 8 |
| 19 | #define SIZE_BOOT_ENTRY (NUM_BOOT_ENTRY * sizeof(u32)) |
| 20 | |
Kumar Gala | 36d6b3f | 2008-01-17 16:48:33 -0600 | [diff] [blame] | 21 | #endif |