summaryrefslogtreecommitdiffstats
path: root/src/usr/secureboot/base
diff options
context:
space:
mode:
authorNick Bofferding <bofferdn@us.ibm.com>2018-06-22 11:44:56 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-06-26 09:55:27 -0400
commitbe4d594926a5da4b5b8042498bb9be9287561339 (patch)
treef34985b78f38091d40a5adfcc0c4b200428b9019 /src/usr/secureboot/base
parentcfa7304f5d6a12f59805477e7498635c67578dd6 (diff)
downloadtalos-hostboot-be4d594926a5da4b5b8042498bb9be9287561339.tar.gz
talos-hostboot-be4d594926a5da4b5b8042498bb9be9287561339.zip
Post informational error log for planar jumper settings
Change-Id: Iebdc09d10a62abab4e71b53fa88a4b21c89822e4 CQ: SW432936 Forwardport: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61318 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/secureboot/base')
-rw-r--r--src/usr/secureboot/base/service.C20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/usr/secureboot/base/service.C b/src/usr/secureboot/base/service.C
index e5af124ab..5a87e5fdb 100644
--- a/src/usr/secureboot/base/service.C
+++ b/src/usr/secureboot/base/service.C
@@ -606,6 +606,26 @@ void addSecureUserDetailsToErrlog(errlHndl_t & io_err,
//Note: adding UdTargetHwKeyHash left to Extended image
}
+void logPlatformSecurityConfiguration(void)
+{
+ /*@
+ * @errortype
+ * @moduleid SECUREBOOT::MOD_SECURE_LOG_PLAT_SECURITY_CONFIG
+ * @reasoncode SECUREBOOT::RC_SECURE_LOG_PLAT_SECURITY_CONFIG
+ * @devdesc Planar jumper configuration
+ * @custdesc Planar jumper configuration
+ */
+ errlHndl_t pError = new ERRORLOG::ErrlEntry(
+ ERRORLOG::ERRL_SEV_INFORMATIONAL,
+ SECUREBOOT::MOD_SECURE_LOG_PLAT_SECURITY_CONFIG,
+ SECUREBOOT::RC_SECURE_LOG_PLAT_SECURITY_CONFIG,
+ 0,
+ 0);
+ (void)addSecureUserDetailsToErrlog(
+ pError);
+ ERRORLOG::errlCommit(pError,SECURE_COMP_ID);
+}
+
#ifndef __HOSTBOOT_RUNTIME
bool allowAttrOverrides()
{
OpenPOWER on IntegriCloud