diff options
| author | Marty Gloff <mgloff@us.ibm.com> | 2016-09-20 16:22:57 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-09-23 12:07:00 -0400 |
| commit | 5e28eb679db54fa4f0040dd712b311d441ed6ca2 (patch) | |
| tree | 856c0b093ede5d9aa8b36d14e5eb0dac96be9f72 /src/usr/sbe | |
| parent | 0e25c0479f1467b068fc1334295f15c4a1a2302e (diff) | |
| download | blackbird-hostboot-5e28eb679db54fa4f0040dd712b311d441ed6ca2.tar.gz blackbird-hostboot-5e28eb679db54fa4f0040dd712b311d441ed6ca2.zip | |
Changes for P9 SBE - Clean-up work from MRW
Finalize changes needed to correctly set MRW for SBE Update and SBE SEEPROMs.
Check for receiving 0 as the Nest PLL Bucket ID.
Change-Id: Ic6d47a8135ccc01f15d5d0d6a64736da31661090
RTC:161049
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29995
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Andres A. Lugo-Reyes <aalugore@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.C | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/usr/sbe/sbe_update.C b/src/usr/sbe/sbe_update.C index faf90c581..daffc76f3 100644 --- a/src/usr/sbe/sbe_update.C +++ b/src/usr/sbe/sbe_update.C @@ -4449,7 +4449,15 @@ namespace SBE size_t sizeOfPll = sizeof(NEST_PLL_FREQ_LIST)/ sizeof(NEST_PLL_FREQ_LIST[0]); - + // Put in an override if 0 is received -- @TODO RTC:161398 to remove + if (0 == l_scratch4.nestPllBucket) + { + // ID of 0 is invalid, so default ID to 3 instead + l_scratch4.nestPllBucket = 3; + TRACFCOMP(g_trac_sbe, + "Nest PLL bucket id is invalid, changed id to %d", + l_scratch4.nestPllBucket ); + } assert((uint8_t)(l_scratch4.nestPllBucket-1) < (uint8_t) sizeOfPll ); |

