diff options
author | Jaymes Wilks <mjwilks@us.ibm.com> | 2017-11-09 14:07:45 -0600 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2017-11-15 15:12:28 -0500 |
commit | eaf4ca605f7b0e23fe72188b3e2f30aa9879d41c (patch) | |
tree | 4c1b59cf3f0f347871c711505e47fb7f8bdabfa2 /src/usr/pnor/pnor_utils.C | |
parent | 27fe0afaf8f13c2636fc33535a56e5912dc8e12c (diff) | |
download | talos-hostboot-eaf4ca605f7b0e23fe72188b3e2f30aa9879d41c.tar.gz talos-hostboot-eaf4ca605f7b0e23fe72188b3e2f30aa9879d41c.zip |
Create new test only PNOR section to test secure Load/Unloads
Created a test PNOR section called TESTLOAD that only exists in
standalone solely for the purpose of testing loadSecureSection
and unloadSecureSection functions of secure boot.
Change-Id: I8d397f96c9199b46a20dae0263822eaf3766f83f
RTC:181598
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49501
Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/pnor/pnor_utils.C')
-rw-r--r-- | src/usr/pnor/pnor_utils.C | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr/pnor/pnor_utils.C b/src/usr/pnor/pnor_utils.C index dc94c56e2..8108f0077 100644 --- a/src/usr/pnor/pnor_utils.C +++ b/src/usr/pnor/pnor_utils.C @@ -395,7 +395,8 @@ bool PNOR::isEnforcedSecureSection(const uint32_t i_section) i_section == HB_RUNTIME || i_section == WOFDATA || i_section == MEMD || - i_section == CAPP; + i_section == CAPP || + i_section == TESTLOAD; #endif #else return false; @@ -463,6 +464,7 @@ const char * PNOR::SectionIdToString( uint32_t i_secIdIndex ) "SBKT", /**< PNOR::SBKT : SecureBoot Key Transition */ "HB_VOLATILE", /**< PNOR::HB_VOLATILE : Semi volatile partition */ "MEMD", /**< PNOR::MEMD : Memory configuration data */ + "TESTLOAD", /**< PNOR::TESTLOAD : Secureboot Test Load */ #endif }; |