diff options
-rw-r--r-- | src/usr/isteps/pm/pm_common.C | 14 |
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) { |