summaryrefslogtreecommitdiffstats
path: root/src/usr/secureboot/base
diff options
context:
space:
mode:
authorDean Sanner <dsanner@us.ibm.com>2017-02-03 20:52:02 -0600
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2017-02-07 06:46:19 -0500
commit4bca31cf0a256e551802ae313b3b1aaf92c42376 (patch)
tree087fb447961d4beaae94e305a9571a0aed4e2c2b /src/usr/secureboot/base
parentb9fd10a99329adb4093c453bf9f80b05a6f31fa3 (diff)
downloadtalos-hostboot-4bca31cf0a256e551802ae313b3b1aaf92c42376.tar.gz
talos-hostboot-4bca31cf0a256e551802ae313b3b1aaf92c42376.zip
Fix to compile without secureboot config option
Change-Id: I6fca0b735447087317228c567b7762b397db87e5 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35949 Reviewed-by: Christopher J. Engel <cjengel@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-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.C2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/secureboot/base/service.C b/src/usr/secureboot/base/service.C
index 6a8a35935..a381c4fd2 100644
--- a/src/usr/secureboot/base/service.C
+++ b/src/usr/secureboot/base/service.C
@@ -92,10 +92,12 @@ void* initializeBase(void* unused)
return l_errl;
}
+#if defined(CONFIG_SECUREBOOT) && !defined(__HOSTBOOT_RUNTIME)
bool enabled()
{
return Singleton<Settings>::instance().getEnabled();
}
+#endif
errlHndl_t getSecuritySwitch(uint64_t& o_regValue, TARGETING::Target* i_targ)
{
OpenPOWER on IntegriCloud