summaryrefslogtreecommitdiffstats
path: root/src/include/usr/vpd
diff options
context:
space:
mode:
authorDoug Gilbert <dgilbert@us.ibm.com>2013-10-15 13:55:28 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-11-13 14:49:38 -0600
commitdd2a474b7fc3a8937f45d1278e887b370ad81192 (patch)
tree00595698a572529ddcd00fc3c975b588b4ea67dc /src/include/usr/vpd
parent1aa8f7551005dd48078b91be173e8bcc7e339061 (diff)
downloadtalos-hostboot-dd2a474b7fc3a8937f45d1278e887b370ad81192.tar.gz
talos-hostboot-dd2a474b7fc3a8937f45d1278e887b370ad81192.zip
Add VPD support to HBRT
RTC: 79419 Change-Id: I6d00e52026084a68925691b96d7a491faaffb4ef Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7004 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/vpd')
-rw-r--r--src/include/usr/vpd/vpd_if.H35
-rw-r--r--src/include/usr/vpd/vpdreasoncodes.H13
2 files changed, 48 insertions, 0 deletions
diff --git a/src/include/usr/vpd/vpd_if.H b/src/include/usr/vpd/vpd_if.H
new file mode 100644
index 000000000..184d84d40
--- /dev/null
+++ b/src/include/usr/vpd/vpd_if.H
@@ -0,0 +1,35 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/include/usr/vpd/vpd_if.H $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2013 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
+#if !defined(__VPD_IF_H)
+#define __VPD_IF_H
+
+namespace VPD
+{
+ /**
+ * Load the runtime VPD image into memory
+ * @param[out] The physical address of the VPD image
+ * @return error handle if there was an error
+ */
+ errlHndl_t vpd_load_rt_image(uint64_t & o_vpd_addr);
+};
+#endif
diff --git a/src/include/usr/vpd/vpdreasoncodes.H b/src/include/usr/vpd/vpdreasoncodes.H
index 20be0e0f6..ac1b13c56 100644
--- a/src/include/usr/vpd/vpdreasoncodes.H
+++ b/src/include/usr/vpd/vpdreasoncodes.H
@@ -70,6 +70,12 @@ enum vpdModuleId
// Centaur FRU VPD
+ // Runtime VPD
+ VPD_RT_GET_ADDR = 0x80,
+ VPD_RT_WRITE_PNOR = 0x81,
+ VPD_BLD_RT_IMAGE = 0x82,
+ VPD_SEND_MBOX_WRITE_MESSAGE = 0x83,
+
};
/**
@@ -102,6 +108,13 @@ enum vpdReasonCode
VPD_INVALID_WRITE_METHOD = VPD_COMP_ID | 0x13,
VPD_NULL_ENTRY = VPD_COMP_ID | 0x14,
VPD_UNSUPPORTED_WRITE = VPD_COMP_ID | 0x15,
+ VPD_RT_INVALID_TYPE = VPD_COMP_ID | 0x16,
+ VPD_RT_CALL_TO_HYPR_FAILED = VPD_COMP_ID | 0x17,
+ VPD_RT_WRITE_NOT_SUPPORTED = VPD_COMP_ID | 0x18,
+ VPD_RT_NOT_INITIALIZED = VPD_COMP_ID | 0x19,
+ VPD_RT_NULL_VPD_PTR = VPD_COMP_ID | 0x1a,
+ VPD_INSUFFICIENT_SPACE_FOR_IMAGE = VPD_COMP_ID | 0x1b,
+ VPD_MBOX_NOT_SUPPORTED_RT = VPD_COMP_ID | 0x1c,
};
}; // end MVPD
OpenPOWER on IntegriCloud