diff options
author | Nick Bofferding <bofferdn@us.ibm.com> | 2018-06-22 11:44:56 -0500 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2018-06-26 09:55:27 -0400 |
commit | be4d594926a5da4b5b8042498bb9be9287561339 (patch) | |
tree | f34985b78f38091d40a5adfcc0c4b200428b9019 /src/usr/secureboot | |
parent | cfa7304f5d6a12f59805477e7498635c67578dd6 (diff) | |
download | talos-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')
-rw-r--r-- | src/usr/secureboot/base/service.C | 20 |
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() { |