diff options
author | Elizabeth Liner <eliner@us.ibm.com> | 2016-07-07 12:48:13 -0500 |
---|---|---|
committer | Stephen Cprek <smcprek@us.ibm.com> | 2016-07-18 15:32:28 -0500 |
commit | 80bdd0b88c6d43dbb41025ed893a82ee4abd6f32 (patch) | |
tree | fae5084078ed447a26d41566e7b9a332cc63d59a /src/usr/pnor/runtime/rt_pnor.C | |
parent | 8f5b9a2108a009e93cea373b78474026e3cce9b9 (diff) | |
download | talos-hostboot-80bdd0b88c6d43dbb41025ed893a82ee4abd6f32.tar.gz talos-hostboot-80bdd0b88c6d43dbb41025ed893a82ee4abd6f32.zip |
Changing XZ decompressor to verify without pnor changes
This patch set is reverting previous pnor changes for XZ
verification, and instead is checking the MAGIC_HEADER to
verify if a section is XZ compressed.
Change-Id: I17c6ec76aef0261e07042f91df550ef34c3d60b3
RTC:149915
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26728
Tested-by: Jenkins Server <pfd-jenkins+hostboot@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/runtime/rt_pnor.C')
-rw-r--r-- | src/usr/pnor/runtime/rt_pnor.C | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/usr/pnor/runtime/rt_pnor.C b/src/usr/pnor/runtime/rt_pnor.C index 776fb1167..33c1a2439 100644 --- a/src/usr/pnor/runtime/rt_pnor.C +++ b/src/usr/pnor/runtime/rt_pnor.C @@ -195,11 +195,6 @@ errlHndl_t RtPnor::getSectionInfo(PNOR::SectionId i_section, (iv_TOC[i_section].version & FFS_VERS_SHA512) ? true : false; o_info.sha512perEC = (iv_TOC[i_section].version & FFS_VERS_SHA512_PER_EC) ? true : false; - o_info.xzCompressed = - ((iv_TOC[i_section].compress & FFS_COMPRESS_XZ) != 0) ? true : false; - o_info.xzSize = - ((iv_TOC[i_section].compress & FFS_COMPRESS_XZ) != 0) ? - iv_TOC[i_section].xzDecompressSize : 0; } while (0); TRACFCOMP(g_trac_pnor, EXIT_MRK"RtPnor::getSectionInfo"); |