summaryrefslogtreecommitdiffstats
path: root/src/usr/hdat
diff options
context:
space:
mode:
authornagurram-in <nagendra.g@in.ibm.com>2017-06-14 08:30:53 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-06-15 12:38:26 -0400
commit5c93d3af13e783e833a6a2fec091ffb9ae01b695 (patch)
tree7fd097f3da02da7d8dca9d5c4718a3ccb33552f1 /src/usr/hdat
parent74ca835c212ecf6df1b671d18e92887f76817a48 (diff)
downloadtalos-hostboot-5c93d3af13e783e833a6a2fec091ffb9ae01b695.tar.gz
talos-hostboot-5c93d3af13e783e833a6a2fec091ffb9ae01b695.zip
Size alignment fix for HDAT msarea structures for missing dimm spd
https://github.com/open-power/zaius-openpower/issues/14#issuecomment-308116637 Change-Id: Ifce34ca212a064dd9ced72833142c190a89e99f8 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41822 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: VENKATESH SAINATH <venkatesh.sainath@in.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/hdat')
-rwxr-xr-xsrc/usr/hdat/hdatmsarea.C4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usr/hdat/hdatmsarea.C b/src/usr/hdat/hdatmsarea.C
index 593f37fb2..14736b126 100755
--- a/src/usr/hdat/hdatmsarea.C
+++ b/src/usr/hdat/hdatmsarea.C
@@ -585,6 +585,10 @@ uint32_t HdatMsArea::getMsAreaSize()
l_size += (iv_maxEcCnt * sizeof(hdatMsAreaEcLvl_t));
+ l_size += sizeof(hdatHDIFDataArray_t);
+
+ l_size += (sizeof(hdatI2cData_t) * iv_msaHostI2cCnt);
+
l_size += this->endCommitSize();
return l_size;
}
OpenPOWER on IntegriCloud