aboutsummaryrefslogtreecommitdiff
path: root/include/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ast.h')
-rw-r--r--include/ast.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/ast.h b/include/ast.h
index 79efe4f..71237fb 100644
--- a/include/ast.h
+++ b/include/ast.h
@@ -101,6 +101,14 @@ void ast_setup_sio_mbox(uint16_t io_base, uint8_t irq);
#define BMC_EID 8
#define HOST_EID 9
+/*
+ * Skiboot's PLDM Terminus ID.
+ * BMC TID is 1, HB is 2, Skiboot is 3.
+ */
+#define BMC_TID 1
+#define HB_TID 2
+#define HOST_TID 3
+
enum mctp_msg_type {
MCTP_MSG_TYPE_CONTROL = 0x00,
MCTP_MSG_TYPE_PLDM = 0x01,