diff options
author | Mike Baiocchi <mbaiocch@us.ibm.com> | 2018-11-15 13:30:49 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-11-27 13:05:31 -0600 |
commit | 2ce1bf13b5bf0d156732b2c5f91721e15cb92f01 (patch) | |
tree | ad8f2fa4f7eb88dc4bded80f88bac83df93ce093 /src/usr/pnor | |
parent | 63a9aa53dcf3c7ddcff756e694ddcff246b5c9f2 (diff) | |
download | talos-hostboot-2ce1bf13b5bf0d156732b2c5f91721e15cb92f01.tar.gz talos-hostboot-2ce1bf13b5bf0d156732b2c5f91721e15cb92f01.zip |
Make TOC partion Read-Only in all PNOR Layouts
This commit ensures that the TOC(s) are all set to "read-only" via
the FFS flags for all PNOR files that are created. It also does
the same for the "BACKUP_PART" and "OTHER_SIDE" partitions, if they
exist, as well.
Change-Id: I5698045b27630e2cb83f470193526ceea02c61d3
CQ:SW423354
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68828
Reviewed-by: Marshall J. Wilks <mjwilks@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>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/pnor')
-rw-r--r-- | src/usr/pnor/pnor_common.C | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/pnor/pnor_common.C b/src/usr/pnor/pnor_common.C index 6bf7cc480..3b642a6e6 100644 --- a/src/usr/pnor/pnor_common.C +++ b/src/usr/pnor/pnor_common.C @@ -332,9 +332,9 @@ errlHndl_t PNOR::parseTOC( uint8_t* i_tocBuffer,SectionData_t * o_TOC, tmpId < PNOR::NUM_SECTIONS; tmpId ++ ) { - TRACFCOMP(g_trac_pnor, "%s: secure=0x%.2X size=0x%.8X flash=0x%.8X ", + TRACFCOMP(g_trac_pnor, "%s: secure=0x%.2X size=0x%.8X flash=0x%.8X misc=0x%.2X", PNOR::SectionIdToString(tmpId), o_TOC[tmpId].secure, - o_TOC[tmpId].size, o_TOC[tmpId].flashAddr); + o_TOC[tmpId].size, o_TOC[tmpId].flashAddr, o_TOC[tmpId].misc); } } while (0); |