diff options
| author | Stephen Cprek <smcprek@us.ibm.com> | 2017-04-20 11:02:58 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-04-28 15:46:38 -0400 |
| commit | 942885a519471aa18706f6b48400beb9c009d329 (patch) | |
| tree | 7016969be50671de1ba8ebabf68c95fd294e1261 /src/usr/runtime | |
| parent | e53a2e5cd5b152d6e565f56867f1f8cd435e7556 (diff) | |
| download | talos-hostboot-942885a519471aa18706f6b48400beb9c009d329.tar.gz talos-hostboot-942885a519471aa18706f6b48400beb9c009d329.zip | |
Sign and Verify the hostboot runtime partition (port from p8)
Change-Id: I04d303b2fe08a9c3fff4e9f3cc0be9768279637d
RTC: 171706
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39521
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@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>
Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/runtime')
| -rw-r--r-- | src/usr/runtime/populate_hbruntime.C | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/usr/runtime/populate_hbruntime.C b/src/usr/runtime/populate_hbruntime.C index 995f76302..93ed6e4ee 100644 --- a/src/usr/runtime/populate_hbruntime.C +++ b/src/usr/runtime/populate_hbruntime.C @@ -913,6 +913,14 @@ errlHndl_t populate_HbRsvMem(uint64_t i_nodeId) l_label = HBRT_RSVD_MEM__CODE; l_labelSize = strlen(l_label) + 1; +#ifdef CONFIG_SECUREBOOT + l_elog = loadSecureSection(PNOR::HB_RUNTIME); + if(l_elog) + { + break; + } +#endif + PNOR::SectionInfo_t l_pnorInfo; l_elog = getSectionInfo( PNOR::HB_RUNTIME , l_pnorInfo); if (l_elog) |

