summaryrefslogtreecommitdiffstats
path: root/src/include/usr/secureboot/trustedboot_reasoncodes.H
diff options
context:
space:
mode:
authorChris Engel <cjengel@us.ibm.com>2015-04-22 16:53:47 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-11-05 23:43:14 -0600
commit5c6ea674b20398ce999f64f8c7cde4292b104690 (patch)
tree60aacaeeeaeba6a369176a33c1a639a490e80288 /src/include/usr/secureboot/trustedboot_reasoncodes.H
parent70e665f85f3e3ec8b118310884640a44ce83b7f2 (diff)
downloadblackbird-hostboot-5c6ea674b20398ce999f64f8c7cde4292b104690.tar.gz
blackbird-hostboot-5c6ea674b20398ce999f64f8c7cde4292b104690.zip
Trusted boot support for performing TPM_STARTUP during isteps
Support added for TPM DD2.0 Added call to host_update_master_tpm during host_discover_targets istep host_update_master_tpm istep performs TPM_STARTUP on TPM Change-Id: Ie9c232ed6ecf72da58c40df726fe1deaec5af053 RTC: 125287 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18075 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Timothy R. Block <block@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/secureboot/trustedboot_reasoncodes.H')
-rw-r--r--src/include/usr/secureboot/trustedboot_reasoncodes.H47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/include/usr/secureboot/trustedboot_reasoncodes.H b/src/include/usr/secureboot/trustedboot_reasoncodes.H
new file mode 100644
index 000000000..53fb6f8fc
--- /dev/null
+++ b/src/include/usr/secureboot/trustedboot_reasoncodes.H
@@ -0,0 +1,47 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/include/usr/secureboot/trustedboot_reasoncodes.H $ */
+/* */
+/* OpenPOWER HostBoot Project */
+/* */
+/* Contributors Listed Below - COPYRIGHT 2015 */
+/* [+] International Business Machines Corp. */
+/* */
+/* */
+/* Licensed under the Apache License, Version 2.0 (the "License"); */
+/* you may not use this file except in compliance with the License. */
+/* You may obtain a copy of the License at */
+/* */
+/* http://www.apache.org/licenses/LICENSE-2.0 */
+/* */
+/* Unless required by applicable law or agreed to in writing, software */
+/* distributed under the License is distributed on an "AS IS" BASIS, */
+/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */
+/* implied. See the License for the specific language governing */
+/* permissions and limitations under the License. */
+/* */
+/* IBM_PROLOG_END_TAG */
+#ifndef __TRUSTEDBOOT_REASONCODES_H
+#define __TRUSTEDBOOT_REASONCODES_H
+
+#include <hbotcompid.H>
+
+namespace TRUSTEDBOOT
+{
+ enum TRUSTEDModuleId
+ {
+ MOD_HOST_UPDATE_MASTER_TPM = 0x00,
+ MOD_TPM_INITIALIZE = 0x01,
+ };
+
+ enum TRUSTEDReasonCode
+ {
+ // Reason codes 0x00 - 0x9F reserved for secure_reasoncodes.H
+
+ RC_TPM_START_FAIL = SECURE_COMP_ID | 0xA0,
+ RC_TPM_EXISTENCE_FAIL = SECURE_COMP_ID | 0xA1,
+ };
+}
+
+#endif
OpenPOWER on IntegriCloud