summaryrefslogtreecommitdiffstats
path: root/src/usr/isteps/pm/pm_common.C
diff options
context:
space:
mode:
authorCorey Swenson <cswenson@us.ibm.com>2017-01-13 11:13:38 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-01-16 11:44:47 -0500
commita83f546589e6cefd0f7cab80bedfceebecf35055 (patch)
tree583c1501adfb4dd2a7bff325d25f7a93fe3c33a1 /src/usr/isteps/pm/pm_common.C
parente89b023341f2b1b3593fff7e550272484c8ee595 (diff)
downloadtalos-hostboot-a83f546589e6cefd0f7cab80bedfceebecf35055.tar.gz
talos-hostboot-a83f546589e6cefd0f7cab80bedfceebecf35055.zip
PM Bringup - fix HCODE buffer parameters sizes
Change-Id: I07665c4b4ab0a530ac73ccb1dd32c27641923574 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34844 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: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/isteps/pm/pm_common.C')
-rw-r--r--src/usr/isteps/pm/pm_common.C14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/usr/isteps/pm/pm_common.C b/src/usr/isteps/pm/pm_common.C
index bf1320914..a094f9621 100644
--- a/src/usr/isteps/pm/pm_common.C
+++ b/src/usr/isteps/pm/pm_common.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2016 */
+/* Contributors Listed Below - COPYRIGHT 2016,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -275,9 +275,9 @@ namespace HBPM
const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>
l_fapiTarg(i_target);
- void *l_buffer0 = (void*)malloc(HW_IMG_RING_SIZE);
- void *l_buffer1 = (void*)malloc(HW_IMG_RING_SIZE);
- void *l_buffer2 = (void*)malloc(HW_IMG_RING_SIZE);
+ void *l_buffer0 = (void*)malloc(MAX_SEEPROM_IMAGE_SIZE);
+ void *l_buffer1 = (void*)malloc(MAX_RING_BUF_SIZE);
+ void *l_buffer2 = (void*)malloc(MAX_RING_BUF_SIZE);
do
{
@@ -348,11 +348,11 @@ namespace HBPM
? PHASE_IPL : PHASE_REBUILD,
l_imgType,
l_buffer0,
- HW_IMG_RING_SIZE,
+ MAX_SEEPROM_IMAGE_SIZE,
l_buffer1,
- HW_IMG_RING_SIZE,
+ MAX_RING_BUF_SIZE,
l_buffer2,
- HW_IMG_RING_SIZE );
+ MAX_RING_BUF_SIZE );
if (l_errl)
{
OpenPOWER on IntegriCloud