diff options
author | Samuel Mendoza-Jonas <sjonas@au1.ibm.com> | 2018-06-27 13:35:35 +1000 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-10-16 13:55:50 -0500 |
commit | cd400323aa493e656fb839202d6f6414a3b040af (patch) | |
tree | b1a053b10829eaa30b267051579fcbcacdfdddf4 /src/include/usr/pnor | |
parent | ce1ebd1460c3666a8e8553d0f57e5dc8bf5aa344 (diff) | |
download | talos-hostboot-cd400323aa493e656fb839202d6f6414a3b040af.tar.gz talos-hostboot-cd400323aa493e656fb839202d6f6414a3b040af.zip |
genPnorImages: Add VERSION to signed partitions
Mark VERSION as a signed partition and also check for it in the IPMI FRU
setup.
Change-Id: I6e8690c4f34d1f5ce92750960e6c73afcbf0a8e9
CQ:SW416159
Signed-off-by: Samuel Mendoza-Jonas <sjonas@au1.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/61439
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: FSP CI Jenkins <fsp-CI-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>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/pnor')
-rw-r--r-- | src/include/usr/pnor/pnorif.H | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/usr/pnor/pnorif.H b/src/include/usr/pnor/pnorif.H index 8b4d4de80..205bd453e 100644 --- a/src/include/usr/pnor/pnorif.H +++ b/src/include/usr/pnor/pnorif.H @@ -81,6 +81,25 @@ errlHndl_t getSideInfo (SideId i_side, SideInfo_t& o_info); errlHndl_t getSectionInfo( SectionId i_section, SectionInfo_t& o_info ); +#ifndef __HOSTBOOT_RUNTIME +/** + * @brief Returns whether requested section is available or not + * + * @par Detailed Description: + * Returns whether requested section is available or not. Resource + * provider must be functional, section ID must be valid, section must + * not be inhibited by secure boot, and section must exist in the PNOR + * to be considered available. + * + * @param[in] i_section PNOR section to check for availability + * + * @return boolean Whether section is available or not + * @retval true Section is available + * @retval false Section is not available + */ +bool isSectionAvailable(PNOR::SectionId i_section); +#endif + #ifdef CONFIG_SECUREBOOT /** * @brief Loads requested PNOR section to secure virtual address space |