aboutsummaryrefslogtreecommitdiff
path: root/include/fsp.h
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2019-05-28 11:17:26 +0530
committerStewart Smith <stewart@linux.ibm.com>2019-06-03 10:28:57 +1000
commiteb86b1484f5442cc2fc78b7c60ff504647318ca2 (patch)
tree5b81ea7b17b6e6acc19628f8f5079cdf949332c6 /include/fsp.h
parentfb702bf01aeabab92d3830d90c8060e5cbd57258 (diff)
downloadskiboot-eb86b1484f5442cc2fc78b7c60ff504647318ca2.zip
skiboot-eb86b1484f5442cc2fc78b7c60ff504647318ca2.tar.gz
skiboot-eb86b1484f5442cc2fc78b7c60ff504647318ca2.tar.bz2
prd: Implement generic FSP - HBRT interface
This patch implements generic interface to pass data from FSP to HBRT during runtime (FSP -> OPAL -> opal-prd -> HBRT). OPAL gets notification from FSP for new HBRT messages. We will convert MBOX message to firmware_notify format and send it to HBRT. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include/fsp.h')
-rw-r--r--include/fsp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/fsp.h b/include/fsp.h
index 7518867..cfa51af 100644
--- a/include/fsp.h
+++ b/include/fsp.h
@@ -296,7 +296,9 @@
#define FSP_MCLASS_DIAG 0xee
#define FSP_MCLASS_PCIE_LINK_TOPO 0xef
#define FSP_MCLASS_OCC 0xf0
-#define FSP_MCLASS_LAST 0xf0
+#define FSP_MCLASS_TRUSTED_BOOT 0xf1
+#define FSP_MCLASS_HBRT 0xf2
+#define FSP_MCLASS_LAST 0xf2
/*
* Commands are provided in rxxyyzz form where:
@@ -584,6 +586,8 @@
* Class F2
*/
#define FSP_CMD_HBRT_TO_FSP 0x1f20100 /* HV->FSP: HBRT message */
+#define FSP_CMD_FSP_TO_HBRT 0x0f20200 /* FSP->HV: HBRT message */
+#define FSP_RSP_FSP_TO_HBRT 0x0f28200 /* HV->FSP: HBRT message */
/*