summaryrefslogtreecommitdiffstats
path: root/src/usr/sbe/test/sbeupdatetest.H
diff options
context:
space:
mode:
authorMarty Gloff <mgloff@us.ibm.com>2017-01-11 11:40:40 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-01-20 17:52:05 -0500
commitcf8fcc043860d45684db89af0f1ccbe4cec99245 (patch)
tree756741029f771099e8bc9d785e04866e09442a9d /src/usr/sbe/test/sbeupdatetest.H
parenta803157e2e983de6a0ebe2b4fe9be538b6f192ff (diff)
downloadtalos-hostboot-cf8fcc043860d45684db89af0f1ccbe4cec99245.tar.gz
talos-hostboot-cf8fcc043860d45684db89af0f1ccbe4cec99245.zip
SBE Update Changes and Hacks
While verifying SBE boot from both SEEPROM sides, several changes were identified and a hack was created to fix a HWP bug. 1) Replace use of SBE::setNestFreqAttributes with use of TARGETING::setFrequencyAttributes. 2) Update TARGETING::setFrequencyAttributes to not pass in i2cBusDiv, but instead to calculate this value. 3) Update TARGETING::setFrequencyAttributes to find the PLL bucket for the new nest frequency. 4) Add a call to TARGETING::setFrequencyAttributes in call_mss_freq. 5) Remove finding PLL bucket from call_host_voltage_config. It is not required since TARGETING::setFrequencyAttributes is being called. 6) Remove SBE::setNestFreqAttributes and SBE::checkSeepromNestFreq from sbe_update.C as they are not being used. 7) Remove various variables, fields, and parameters because they are unneeded after work above. 8) Add hack to set SBE boot side indicator back to primary side before doShutdown in sbe_update.C. 9) Add syncAllAttributesToFsp call before doShutdown in sbe_update.C. 10) Add attributes for the nest PLL frequency data. Change-Id: I97ea6386eb583a71c0dbec70adb9977e749dbfd3 RTC:152404 CMVC-Prereq:1014451 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34735 Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/sbe/test/sbeupdatetest.H')
-rw-r--r--src/usr/sbe/test/sbeupdatetest.H7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/usr/sbe/test/sbeupdatetest.H b/src/usr/sbe/test/sbeupdatetest.H
index 260e87786..22eb42646 100644
--- a/src/usr/sbe/test/sbeupdatetest.H
+++ b/src/usr/sbe/test/sbeupdatetest.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2016 */
+/* Contributors Listed Below - COPYRIGHT 2013,2017 */
/* [+] Google Inc. */
/* [+] International Business Machines Corp. */
/* */
@@ -780,11 +780,8 @@ class SBEUpdateTest: public CxxTest::TestSuite
// set bad ec just for comparison to local_ec later
sbeState.ec = 0xFF;
- // send input part to perform all checks
- sbeUpdateCheckType i_check_type = SBE_UPDATE_CHECK_ALL;
-
total++;
- err = getSbeInfoState(sbeState, i_check_type);
+ err = getSbeInfoState(sbeState);
if(err)
{
fails++;
OpenPOWER on IntegriCloud