summaryrefslogtreecommitdiffstats
path: root/src/build/buildpnor/genPnorImages.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/build/buildpnor/genPnorImages.pl')
-rwxr-xr-xsrc/build/buildpnor/genPnorImages.pl8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/build/buildpnor/genPnorImages.pl b/src/build/buildpnor/genPnorImages.pl
index 8ad102eab..b23f01a0a 100755
--- a/src/build/buildpnor/genPnorImages.pl
+++ b/src/build/buildpnor/genPnorImages.pl
@@ -500,9 +500,8 @@ sub manipulateImages
# Sections that have secureboot support. Secureboot still must be
# enabled for secureboot actions on these partitions to occur.
# @TODO securebootp9 re-enable with SBE/SBEC/PAYLOAD secureboot ports
- my $isNormalSecure = 0;
+ my $isNormalSecure = ($eyeCatch eq "SBE");
#|| ($eyeCatch eq "HBRT");
- #|| ($eyeCatch eq "SBE")
#|| ($eyeCatch eq "SBEC")
#|| ($eyeCatch eq "PAYLOAD")
#|| ($eyeCatch eq "OCC")
@@ -698,10 +697,7 @@ sub manipulateImages
run_command("cat $bin_file >> $tempImages{HDR_PHASE}");
}
}
- # @TODO securebootp9 re-enable with SBE/SBEC secureboot ports
- elsif(0) #$secureboot
- #&& ( ($sectionHash{$layoutKey}{sha512perEC} eq "yes")
- # || ($isNormalSecure)))
+ elsif ($secureboot && $isNormalSecure)
{
$callerHwHdrFields{configure} = 1;
if($openSigningTool)
OpenPOWER on IntegriCloud