summaryrefslogtreecommitdiffstats
path: root/src/include/usr/sbe
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/include/usr/sbe
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/include/usr/sbe')
-rw-r--r--src/include/usr/sbe/sbeif.H38
1 files changed, 2 insertions, 36 deletions
diff --git a/src/include/usr/sbe/sbeif.H b/src/include/usr/sbe/sbeif.H
index 12324d949..8dd87c028 100644
--- a/src/include/usr/sbe/sbeif.H
+++ b/src/include/usr/sbe/sbeif.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2016 */
+/* Contributors Listed Below - COPYRIGHT 2013,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -75,30 +75,12 @@ namespace SBE
/**
- * @enum sbeUpdateCheckType
- *
- * @brief Determines what types of checks are performed on the SBE Seeproms
- * to determine if an update is necessary.
- *
- */
- enum sbeUpdateCheckType
- {
- SBE_UPDATE_CHECK_ALL = 0x00,
- SBE_UPDATE_ONLY_CHECK_NEST_FREQ = 0x01
- };
-
- /**
* @brief Iterates through all the functional processors and updates
* the SBE Image in a SEEPROM, if necessary.
*
- * @param[in] i_check_type Indicates what types of checks are performed
- * on the SBE Seeproms to determine if an update
- * is necessary.
- *
* @return errlHndl_t Error log handle on failure.
*/
- errlHndl_t updateProcessorSbeSeeproms(
- sbeUpdateCheckType i_check_type = SBE_UPDATE_CHECK_ALL);
+ errlHndl_t updateProcessorSbeSeeproms();
/**
* @brief Iterates through all the functional processors and resolves
@@ -124,15 +106,6 @@ namespace SBE
errlHndl_t isGoldenSide( bool & o_isGolden );
/**
- * @brief Determines what nest frequency we booted from
- *
- * @param[out] o_bootNestFreq - The nest frequency the system last booted on.
- *
- * @return errlHndl_t Error log handle on error.
- */
- errlHndl_t getBootNestFreq( uint32_t & o_bootNestFreq );
-
- /**
* @brief Determines if we booted in synchronous memory mode or not
*
* @param[out] o_mcSyncMode - The MC sync mode the system last booted with.
@@ -141,13 +114,6 @@ namespace SBE
*/
errlHndl_t getBootMcSyncMode( uint8_t& o_mcSyncMode );
- /**
- * @brief Set all of the attributes that are based on the PB/Nest Freq
- *
- * @param[in] i_nestFreq - Nest/PB Frequency to base settings on.
- */
- void setNestFreqAttributes( uint32_t i_nestFreq );
-
/**
* @brief Updates which Seeprom was used to boot the SBE
*
OpenPOWER on IntegriCloud