2008-01-17 22:48:33 +00:00
|
|
|
#ifndef __MPC85XX_MP_H_
|
|
|
|
#define __MPC85XX_MP_H_
|
|
|
|
|
2009-04-01 04:11:05 +00:00
|
|
|
#include <asm/mp.h>
|
|
|
|
|
2012-10-08 07:44:30 +00:00
|
|
|
phys_addr_t get_spin_phys_addr(void);
|
2008-01-17 22:48:33 +00:00
|
|
|
u32 get_my_id(void);
|
2010-09-30 17:22:16 +00:00
|
|
|
int hold_cores_in_reset(int verbose);
|
2008-01-17 22:48:33 +00:00
|
|
|
|
2008-03-26 13:34:25 +00:00
|
|
|
#define BOOT_ENTRY_ADDR_UPPER 0
|
|
|
|
#define BOOT_ENTRY_ADDR_LOWER 1
|
|
|
|
#define BOOT_ENTRY_R3_UPPER 2
|
|
|
|
#define BOOT_ENTRY_R3_LOWER 3
|
|
|
|
#define BOOT_ENTRY_RESV 4
|
|
|
|
#define BOOT_ENTRY_PIR 5
|
|
|
|
#define BOOT_ENTRY_R6_UPPER 6
|
|
|
|
#define BOOT_ENTRY_R6_LOWER 7
|
2012-10-08 07:44:30 +00:00
|
|
|
#define NUM_BOOT_ENTRY 16 /* pad to 64 bytes */
|
2008-03-26 13:34:25 +00:00
|
|
|
#define SIZE_BOOT_ENTRY (NUM_BOOT_ENTRY * sizeof(u32))
|
|
|
|
|
2008-01-17 22:48:33 +00:00
|
|
|
#endif
|