summaryrefslogtreecommitdiffstats
path: root/src/usr/pnor/pnor_common.C
diff options
context:
space:
mode:
authorMike Baiocchi <mbaiocch@us.ibm.com>2017-05-22 17:14:12 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-06-08 10:08:59 -0400
commit4c586e2298ffafed3c1979784e1626868bd46f58 (patch)
treeb2aab45ecab8d4023ed0f045ddd5370a2fec7320 /src/usr/pnor/pnor_common.C
parent72a32a1058877dd616c72777c6f7545c55117bed (diff)
downloadtalos-hostboot-4c586e2298ffafed3c1979784e1626868bd46f58.tar.gz
talos-hostboot-4c586e2298ffafed3c1979784e1626868bd46f58.zip
Disable Ring Overrides in Secure Mode
This commit disables ring overrides during the IPL and at Runtime when the system has security enabled. Change-Id: Ic3b0db92994a61d4ba6e28858bcd6fde59be6a23 RTC: 163094 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40818 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/pnor/pnor_common.C')
-rw-r--r--src/usr/pnor/pnor_common.C3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/pnor/pnor_common.C b/src/usr/pnor/pnor_common.C
index 2c491d990..2eb710a16 100644
--- a/src/usr/pnor/pnor_common.C
+++ b/src/usr/pnor/pnor_common.C
@@ -387,7 +387,8 @@ bool PNOR::isInhibitedSection(const uint32_t i_section)
{
#ifdef CONFIG_SECUREBOOT
return (i_section == ATTR_PERM ||
- i_section == ATTR_TMP) &&
+ i_section == ATTR_TMP ||
+ i_section == RINGOVD ) &&
SECUREBOOT::enabled();
#else
return false;
OpenPOWER on IntegriCloud