diff options
author | Nick Bofferding <bofferdn@us.ibm.com> | 2017-02-02 09:29:05 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-02-07 11:59:28 -0500 |
commit | ec44a25c8be03e83a2d3da8fc4ecd39a3a8952f6 (patch) | |
tree | d7218b034055bae11baa1576b67fa9861ec8c6b6 /src/usr/secureboot/base | |
parent | 39922dff9157fb42655a7d059d617006309d9b92 (diff) | |
download | talos-hostboot-ec44a25c8be03e83a2d3da8fc4ecd39a3a8952f6.tar.gz talos-hostboot-ec44a25c8be03e83a2d3da8fc4ecd39a3a8952f6.zip |
Invert polarity of secure jumper bit
Change-Id: I58b67d83225bd72a25b275cca61845719dfb1245
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35803
Reviewed-by: Stephen M. Cprek <smcprek@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: Marshall J. Wilks <mjwilks@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/secureboot/base')
-rw-r--r-- | src/usr/secureboot/base/settings.C | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/usr/secureboot/base/settings.C b/src/usr/secureboot/base/settings.C index e06e179e3..bd8f129f0 100644 --- a/src/usr/secureboot/base/settings.C +++ b/src/usr/secureboot/base/settings.C @@ -100,10 +100,14 @@ namespace SECUREBOOT { break; } + + // If the "Secure Mode Disable" (SMD) bit is 0b1 in the CBS + // Control/Status register, hardware security is deasserted; + // otherwise (0b0), hardware security is asserted o_state = (l_regValue & static_cast<uint64_t>(ProcCbsControl::JumperStateBit)) ? - SecureJumperState::SECURITY_ASSERTED : - SecureJumperState::SECURITY_DEASSERTED; + SecureJumperState::SECURITY_DEASSERTED : + SecureJumperState::SECURITY_ASSERTED; SB_INF("getJumperState() state:%i huid:%.8X", o_state, get_huid(i_targ)); |