blob: ad9950bcf590d2071a4c280273c3e831488ca1d7 [file] [log] [blame]
Kumar Gala36d6b3f2008-01-17 16:48:33 -06001#ifndef __MPC85XX_MP_H_
2#define __MPC85XX_MP_H_
3
Kumar Galae1064b32009-03-31 23:11:05 -05004#include <asm/mp.h>
5
York Sun2394a0f2012-10-08 07:44:30 +00006phys_addr_t get_spin_phys_addr(void);
Kumar Gala36d6b3f2008-01-17 16:48:33 -06007u32 get_my_id(void);
Aaron Sierraec8863b2010-09-30 12:22:16 -05008int hold_cores_in_reset(int verbose);
Kumar Gala36d6b3f2008-01-17 16:48:33 -06009
Kumar Galadeeac572008-03-26 08:34:25 -050010#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
York Sun2394a0f2012-10-08 07:44:30 +000018#define NUM_BOOT_ENTRY 16 /* pad to 64 bytes */
Kumar Galadeeac572008-03-26 08:34:25 -050019#define SIZE_BOOT_ENTRY (NUM_BOOT_ENTRY * sizeof(u32))
20
Kumar Gala36d6b3f2008-01-17 16:48:33 -060021#endif