diff options
author | Matt Spinler <spinler@us.ibm.com> | 2016-02-05 10:35:21 -0600 |
---|---|---|
committer | Matthew A. Ploetz <maploetz@us.ibm.com> | 2017-03-08 09:12:32 -0500 |
commit | 6f2a36c73cfbc18d0d6bf86a45c63014fe12fd1d (patch) | |
tree | 0a14231cf654b6610a3a922754fbcf470e5e96dd /src/include/usr/pnor | |
parent | 04e001c3139323868eafb1742160fb7e76d9e1fd (diff) | |
download | talos-hostboot-6f2a36c73cfbc18d0d6bf86a45c63014fe12fd1d.tar.gz talos-hostboot-6f2a36c73cfbc18d0d6bf86a45c63014fe12fd1d.zip |
Support Provisioning PNOR partition XML element.
If the element is present, set a flag in the PNOR TOC. Other
code, like BMC code, would then erase these partitions when
the system is reprovisioned.
RTC: 143305
Forwardport: yes
Change-Id: I457895f65d81e0a971bf301f16be2921dc21a24a
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/20576
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: Stephen M. Cprek <smcprek@us.ibm.com>
Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com>
Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
Diffstat (limited to 'src/include/usr/pnor')
-rw-r--r-- | src/include/usr/pnor/pnor_const.H | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/usr/pnor/pnor_const.H b/src/include/usr/pnor/pnor_const.H index 34395fbd2..3b4b199a0 100644 --- a/src/include/usr/pnor/pnor_const.H +++ b/src/include/usr/pnor/pnor_const.H @@ -88,8 +88,9 @@ struct SectionInfo_t uint64_t size; /**< Size of partition in bytes */ bool eccProtected; /**< Section is ECC protected */ bool sha512Version; /**< Version Checking */ - bool sha512perEC; /**< Version Checking perEC */ - bool readOnly; /**< Section is read only */ + bool sha512perEC; /**< Version Checking perEC */ + bool readOnly; /**< Section is read only */ + bool reprovision; /**< Erase this section during a reprovision */ #ifdef CONFIG_SECUREBOOT size_t secureProtectedPayloadSize; /**< Cache the secure payload size so that the secure container only |