summaryrefslogtreecommitdiffstats
path: root/src/usr/sbe
diff options
context:
space:
mode:
authorMarty Gloff <mgloff@us.ibm.com>2016-09-26 15:46:24 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-09-29 16:38:52 -0400
commit439845c3ba52a509875ef439c66fe59c9bbabb28 (patch)
tree834e5ca9a9f5b2ef5f12fcb5c6e8dd9af5bb06cc /src/usr/sbe
parent0e0c43a0cb8a5a4698803adcb2dde56b274f4500 (diff)
downloadtalos-hostboot-439845c3ba52a509875ef439c66fe59c9bbabb28.tar.gz
talos-hostboot-439845c3ba52a509875ef439c66fe59c9bbabb28.zip
Fix Bus Speed Array Generation
Change bus speed array from 4x3 to 4x4 (engines x ports). Remove code to "Default everything off except TPM until MRW is correct and simics model is complete". Also clean-up some TODO comments. Remove temp return statements from SBE update and resolve sides functions. Skip additional content types when processing eeproms. Change-Id: I490585ca48113fc2e07fc4194201361d04e93f22 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30323 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/sbe')
-rw-r--r--src/usr/sbe/sbe_update.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/sbe/sbe_update.C b/src/usr/sbe/sbe_update.C
index 32e52f6be..a321ab884 100644
--- a/src/usr/sbe/sbe_update.C
+++ b/src/usr/sbe/sbe_update.C
@@ -1007,7 +1007,7 @@ namespace SBE
// setup loop parameters
coreCount = __builtin_popcount(coreMask);
- while( coreCount >= 3 /* sys->getAttr< ATTR_SBE_IMAGE_MINIMUM_VALID_ECS>() @TODO RTC:161050 */ )
+ while( coreCount >= 2 /* sys->getAttr< ATTR_SBE_IMAGE_MINIMUM_VALID_ECS>() @TODO RTC:161050 */ )
{
// copy customized SBE image to destination
memcpy ( io_imgPtr,
@@ -1120,7 +1120,7 @@ namespace SBE
// Check if loop will execute again
// Clean up some data if it will
- if( coreCount >= 3 /* sys->getAttr< ATTR_SBE_IMAGE_MINIMUM_VALID_ECS>() @TODO RTC:161050 */ )
+ if( coreCount >= 2 /* sys->getAttr< ATTR_SBE_IMAGE_MINIMUM_VALID_ECS>() @TODO RTC:161050 */ )
{
// Reset size and clear image buffer
tmpImgSize = static_cast<uint32_t>(i_maxImgSize);
OpenPOWER on IntegriCloud