summaryrefslogtreecommitdiffstats
path: root/cpu/mpc85xx/mp.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-03-26 08:34:25 -0500
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-03-26 11:43:04 -0500
commit79679d80021ab095e639e250ca472fe526da02e2 (patch)
tree1c6bb9e1f61581c962a6da1666bbd8f0fbb618ba /cpu/mpc85xx/mp.h
parent25eedb2c1958a13110c7de1fc809b624053cc69c (diff)
downloadtalos-obmc-uboot-79679d80021ab095e639e250ca472fe526da02e2.tar.gz
talos-obmc-uboot-79679d80021ab095e639e250ca472fe526da02e2.zip
85xx: Update multicore boot mechanism to ePAPR v0.81 spec
The following changes are needed to be inline with ePAPR v0.81: * r4, r5 and now always set to 0 on boot release * r7 is used to pass the size of the initial map area (IMA) * EPAPR_MAGIC value changed for book-e processors * changes in the spin table layout * spin table supports a 64-bit physical release address Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'cpu/mpc85xx/mp.h')
-rw-r--r--cpu/mpc85xx/mp.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/cpu/mpc85xx/mp.h b/cpu/mpc85xx/mp.h
index d9fbb825e5..b762ee2d76 100644
--- a/cpu/mpc85xx/mp.h
+++ b/cpu/mpc85xx/mp.h
@@ -5,4 +5,15 @@ ulong get_spin_addr(void);
void setup_mp(void);
u32 get_my_id(void);
+#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
+#define NUM_BOOT_ENTRY 8
+#define SIZE_BOOT_ENTRY (NUM_BOOT_ENTRY * sizeof(u32))
+
#endif
OpenPOWER on IntegriCloud