Skip to content

Commit

Permalink
Fix to compile without secureboot config option
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
sannerd authored and wghoffa committed Feb 7, 2017
1 parent b9fd10a commit 4bca31c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/usr/secureboot/base/service.C
Expand Up @@ -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)
{
Expand Down

0 comments on commit 4bca31c

Please sign in to comment.