summaryrefslogtreecommitdiffstats
path: root/src/bootloader
diff options
context:
space:
mode:
authorStephen Cprek <smcprek@us.ibm.com>2017-01-04 14:55:22 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-01-06 15:00:11 -0500
commitd0b4499de44240f199e54a71b58ea72fa2c4523d (patch)
tree7f10f737fd2125e61c9d2921d750a492e3755f26 /src/bootloader
parentfffe871494c7c430e93fc939d15582158c458e3c (diff)
downloadtalos-hostboot-d0b4499de44240f199e54a71b58ea72fa2c4523d.tar.gz
talos-hostboot-d0b4499de44240f199e54a71b58ea72fa2c4523d.zip
Add one element to the TOC array to match how pnorrp.H does it.
Also move location where we grab the bootloader trace in citests CQ:SW375140 Change-Id: I1108bccb930d324bf938051738343744610a1876 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34375 Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@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> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/bootloader')
-rw-r--r--src/bootloader/bl_pnorAccess.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootloader/bl_pnorAccess.C b/src/bootloader/bl_pnorAccess.C
index 77f53265c..037b5eb68 100644
--- a/src/bootloader/bl_pnorAccess.C
+++ b/src/bootloader/bl_pnorAccess.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2016 */
+/* Contributors Listed Below - COPYRIGHT 2015,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -259,7 +259,7 @@ void bl_pnorAccess::getHBBSection(uint64_t i_pnorEnd,
BOOTLOADER_TRACE(BTLDR_TRC_PA_GETHBBSECTION_START);
do
{
- PNOR::SectionData_t l_TOC[PNOR::NUM_SECTIONS];
+ PNOR::SectionData_t l_TOC[PNOR::NUM_SECTIONS+1];
findTOC(i_pnorEnd, l_TOC, o_errCode, o_tocUsed, o_pnorStart);
OpenPOWER on IntegriCloud