summaryrefslogtreecommitdiffstats
path: root/src/occ_405/homer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/occ_405/homer.h')
-rwxr-xr-xsrc/occ_405/homer.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/occ_405/homer.h b/src/occ_405/homer.h
index 4f2061e..6961a32 100755
--- a/src/occ_405/homer.h
+++ b/src/occ_405/homer.h
@@ -67,6 +67,15 @@
#define PPMR_OFFSET_HOMER 0x00300000 // PPMR image HOMER offset
#define PPMR_ADDRESS_HOMER (HOMER_BASE_ADDRESS+PPMR_OFFSET_HOMER) // PPMR image memory address
+extern uint32_t G_fir_master;
+#define OCC_SET_FIR_MASTER(_fm_t) (G_fir_master = _fm_t)
+#define OCC_IS_FIR_MASTER() ((G_fir_master == FIR_OCC_IS_FIR_MASTER) ? TRUE : FALSE)
+
+enum fir_master
+{
+ FIR_OCC_NOT_FIR_MASTER = 0x00000000,
+ FIR_OCC_IS_FIR_MASTER = 0x00000001
+};
// Version(s) of HOMER host data currently supported
typedef enum homer_version
OpenPOWER on IntegriCloud