summaryrefslogtreecommitdiffstats
path: root/src/usr/secureboot/base/settings.C
diff options
context:
space:
mode:
authorIlya Smirnov <ismirno@us.ibm.com>2018-07-03 13:33:36 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-07-12 19:09:23 -0400
commitd2c065d794cee00ff07f06d1909554df480b2111 (patch)
tree98317792d156731339ca9f7fa2679f4e107766d5 /src/usr/secureboot/base/settings.C
parent4c66599e7fd35b64e470a5ac840be8d8fe09aa7c (diff)
downloadtalos-hostboot-d2c065d794cee00ff07f06d1909554df480b2111.tar.gz
talos-hostboot-d2c065d794cee00ff07f06d1909554df480b2111.zip
Display Secure Mode Console Trace During Boot
This change adds a trace to explicitly state the status of secure mode on the system. A message indicating the state of secure mode will be displayed on console early in the boot. Change-Id: Ie36249695a56838879d47a9de300ad58cd7b8feb CQ: SW424336 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/62305 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/secureboot/base/settings.C')
-rw-r--r--src/usr/secureboot/base/settings.C10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/usr/secureboot/base/settings.C b/src/usr/secureboot/base/settings.C
index 4ebb77dd1..2ecf45b4a 100644
--- a/src/usr/secureboot/base/settings.C
+++ b/src/usr/secureboot/base/settings.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2017 */
+/* Contributors Listed Below - COPYRIGHT 2013,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -98,7 +98,13 @@ namespace SECUREBOOT
SB_INF("Booting in non-secure mode. "
"CBS Control/Status Register (0x50001) = 0x%016llX, "
"Security Switch Register (0x10005) = 0x%016llX.",
- securitySwitchValue,cbsValue);
+ cbsValue, securitySwitchValue);
+ }
+ else
+ {
+ #ifdef CONFIG_CONSOLE
+ CONSOLE::displayf(SECURE_COMP_NAME, "Booting in secure mode.");
+ #endif
}
#endif
}
OpenPOWER on IntegriCloud