From bce435643588953641f511a17331d49cda1368ac Mon Sep 17 00:00:00 2001 From: Christian Geddes Date: Thu, 29 Aug 2019 14:51:55 -0500 Subject: Add call to fapi wrapper of exp_getidec into hwasPlat code The file hwasPlat.C contains the code we use to lookup and compare the IDEC information of a given OCMB when read from the card's SPD versus what is read from the card's defined registers. Recently the code that looks up the IDEC from the card's registers was made into a HWP so it could be leveraged by multiple platforms. A new wrapper has been created on the hostboot side in src/usr/fapiwrap/ that provides an interface for the hostboot platform to call in order to leverage the new EKB hwp. Change-Id: I9155767b199c9b197c010521f33cc0d418901628 RTC: 214627 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/83109 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Ilya Smirnov Reviewed-by: Daniel M Crowell Reviewed-by: William G Hoffa --- src/build/citest/etc/workarounds.postsimsetup | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/build/citest') diff --git a/src/build/citest/etc/workarounds.postsimsetup b/src/build/citest/etc/workarounds.postsimsetup index f4ca5ebe6..e1a9bdcc2 100755 --- a/src/build/citest/etc/workarounds.postsimsetup +++ b/src/build/citest/etc/workarounds.postsimsetup @@ -39,7 +39,14 @@ mkdir -p $sb/simu/configs/ grep -v PROC_EC $BACKING_BUILD/src/simu/configs/P9_NIMBUS.config > $sb/simu/configs/P9_NIMBUS.config echo "SETENV PROC_EC 22" >> $sb/simu/configs/P9_NIMBUS.config -# TODO 215621 remove when simics gets dimmspd.dat updated +# TODO RTC:215621 +# remove when simics gets dimmspd.dat updated mkdir -p $sb/../simics/import/vpd/ cp /gsa/ausgsa/projects/h/hostboot/.binary_cache/data/09e225d24bd942a0011ca520311d7cbf289e672e $sb/../simics/import/vpd/dimmspd.dat + +# TODO RTC:244050 +# update the por value of the EFUSE_OUT_IMAGE_3 register +if [[ -f "$sb/../simics/import/cec-chip/uchip_default.por" ]]; then + sed -i 's/UCHIP(0x0020b08c)=0x0/UCHIP(0x0020b08c)=0x00000400/' $sb/../simics/import/cec-chip/uchip_default.por +fi ########################################################################## -- cgit v1.2.1