summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPrem Shanker Jha <premjha2@in.ibm.com>2016-12-13 12:41:28 -0600
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2016-12-16 12:29:31 -0500
commit79ed124c9312189f52d01eff96eec1ddc673200e (patch)
tree580e5e3d232200a091f0c01c11e62f25940c9254 /src
parentc5e38aebcc89f58af2d0fa93dc1f7dd859f1b6ee (diff)
downloadtalos-hostboot-79ed124c9312189f52d01eff96eec1ddc673200e.tar.gz
talos-hostboot-79ed124c9312189f52d01eff96eec1ddc673200e.zip
PM: Fix for core specific ring Offset in CME image header.
Adds a missing update of core specific ring offset in CME image header. It was omitted in a code refactoring exercise. Change-Id: I902d84a91d8bc19e4ea67d03a1b1d5a8b330fc92 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33787 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33794 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: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/import/chips/p9/procedures/hwp/pm/p9_hcode_image_build.C7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/pm/p9_hcode_image_build.C b/src/import/chips/p9/procedures/hwp/pm/p9_hcode_image_build.C
index 8ba7b2c15..3f629681d 100644
--- a/src/import/chips/p9/procedures/hwp/pm/p9_hcode_image_build.C
+++ b/src/import/chips/p9/procedures/hwp/pm/p9_hcode_image_build.C
@@ -1740,7 +1740,12 @@ extern "C"
cmeRings,
ringLength );
- pCmeHdr->g_cme_max_spec_ring_length = ( ringLength + CME_BLOCK_READ_LEN - 1 ) >> CME_BLK_SIZE_SHIFT;
+ if( ringLength )
+ {
+ pCmeHdr->g_cme_max_spec_ring_length =
+ ( ringLength + CME_BLOCK_READ_LEN - 1 ) >> CME_BLK_SIZE_SHIFT;
+ pCmeHdr->g_cme_core_spec_ring_offset = tempLength;
+ }
//Let us handle endianess now
pCmeHdr->g_cme_common_ring_length = SWIZZLE_4_BYTE(pCmeHdr->g_cme_common_ring_length);
OpenPOWER on IntegriCloud