summaryrefslogtreecommitdiffstats
path: root/src/usr/secureboot
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/secureboot')
-rw-r--r--src/usr/secureboot/base/service.C19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/usr/secureboot/base/service.C b/src/usr/secureboot/base/service.C
index 1f5b5d83d..e5af124ab 100644
--- a/src/usr/secureboot/base/service.C
+++ b/src/usr/secureboot/base/service.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2017 */
+/* Contributors Listed Below - COPYRIGHT 2013,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -637,6 +637,23 @@ bool allowAttrOverrides()
};
#endif
+bool getSbeSecurityBackdoor()
+{
+ bool l_backdoorEnabled = false;
+
+ if(g_BlToHbDataManager.getSecBackdoor())
+ {
+ l_backdoorEnabled = true;
+ SB_INF("getSbeSecurityBackdoor: SBE Security Backdoor is enabled.");
+ }
+ else
+ {
+ l_backdoorEnabled = false;
+ SB_INF("getSbeSecurityBackdoor: SBE Security Backdoor is disabled.");
+ }
+ return l_backdoorEnabled;
+}
+
uint8_t getSbeSecurityMode()
{
return g_sbeSecurityMode;
OpenPOWER on IntegriCloud