diff options
| author | Andres Lugo-Reyes <aalugore@us.ibm.com> | 2015-08-24 16:45:40 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-09-18 19:29:43 -0500 |
| commit | 66569e88a40376b4881bef6c23df411380c8f367 (patch) | |
| tree | 4141e0d70aac8329f4c942d13f0cb9f2215340f6 /src/include | |
| parent | 4baaa4fcd39593ea8a387b3c64f8ec3c028cf008 (diff) | |
| download | talos-hostboot-66569e88a40376b4881bef6c23df411380c8f367.tar.gz talos-hostboot-66569e88a40376b4881bef6c23df411380c8f367.zip | |
SBE Update Support for Adjusted Nest Frequency
This commit adds a check in istep 8.1 to see if the SBE Seeproms are
programmed with the same NEST_FREQ_MHZ attribute value that the system is
currently running at. If necessary, it will update the SBE Seeproms in this
step which might result in a re-IPL.
Change-Id: I1dca7196cd02a2704a238665b73b522c9e103936
RTC:133406
Depends-on:I9bba92f55f1b67ff4a15d79113f19d39272ec72d
Backport: release-fips840
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20229
Tested-by: Jenkins Server
Tested-by: FSP CI Jenkins
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/usr/isteps/istep08list.H | 2 | ||||
| -rw-r--r-- | src/include/usr/sbe/sbeif.H | 19 |
2 files changed, 20 insertions, 1 deletions
diff --git a/src/include/usr/isteps/istep08list.H b/src/include/usr/isteps/istep08list.H index 949653928..0a721c694 100644 --- a/src/include/usr/isteps/istep08list.H +++ b/src/include/usr/isteps/istep08list.H @@ -120,6 +120,8 @@ const DepModInfo g_istep08Dependancies = { DEP_LIB(libnest_chiplets.so), DEP_LIB(libsecure_boot.so), DEP_LIB(libslave_sbe.so), + DEP_LIB(libsbe.so), + DEP_LIB(libbuild_winkle_images.so), NULL } }; diff --git a/src/include/usr/sbe/sbeif.H b/src/include/usr/sbe/sbeif.H index 9cf20c637..b00e01f7d 100644 --- a/src/include/usr/sbe/sbeif.H +++ b/src/include/usr/sbe/sbeif.H @@ -59,14 +59,31 @@ namespace SBE size_t& o_imgSize, sbe_image_version_t* o_version = NULL); + /** + * @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(); + errlHndl_t updateProcessorSbeSeeproms( + sbeUpdateCheckType i_check_type = SBE_UPDATE_CHECK_ALL); /** * @brief Iterates through all the functional processors and resolves |

