diff options
| author | Nick Bofferding <bofferdn@us.ibm.com> | 2018-11-13 00:35:35 -0600 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-11-15 13:58:29 -0600 |
| commit | 1e6bbb9b989b1c04c8190ed6240badb8cd99d886 (patch) | |
| tree | ab3d6c5c840612ef041c93a2008828ef2828272e /src/include/usr/sbe | |
| parent | 6cf801f1c1b75b6bb67fa67d310b3b1518f66817 (diff) | |
| download | talos-hostboot-1e6bbb9b989b1c04c8190ed6240badb8cd99d886.tar.gz talos-hostboot-1e6bbb9b989b1c04c8190ed6240badb8cd99d886.zip | |
Only allow key transition in istep 10.2
In certain cases, if a key transition driver was booted and the nest frequency
had to be updated, the key transition flow would erroneously activate in istep
7.3 (call_mss_freq). This change confines key transitioning to istep 10.2
Change-Id: I450703e21bf68644298f77fcdfca62eae5c667e4
CQ: SW451376
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68685
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Michael Baiocchi <mbaiocch@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.H | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/include/usr/sbe/sbeif.H b/src/include/usr/sbe/sbeif.H index 3f69d8ff1..022be1d72 100644 --- a/src/include/usr/sbe/sbeif.H +++ b/src/include/usr/sbe/sbeif.H @@ -35,6 +35,16 @@ namespace SBE { /** + * @brief Enumeration indicating whether SBE SEEPROM update should + * allow key transitioning (if applicable) + */ + enum KEY_TRANSITION_PERM : uint8_t + { + INHIBIT_KEY_TRANSITION = 0x00, + ALLOW_KEY_TRANSITION = 0x01, + }; + + /** * @brief Gets a pointer to the proper SBE image in PNOR * * @param[in] i_target Target used to find right SBE Image in PNOR @@ -60,9 +70,14 @@ namespace SBE * @brief Iterates through all the functional processors and updates * the SBE Image in a SEEPROM, if necessary. * + * @param[in] i_keyTransPerm Whether key transitions should be allowed + * or inhibited (if applicable). By default, they are inhibited. + * Only istep 10.2 should allow key transitioning. + * * @return errlHndl_t Error log handle on failure. */ - errlHndl_t updateProcessorSbeSeeproms(); + errlHndl_t updateProcessorSbeSeeproms( + KEY_TRANSITION_PERM i_keyTransPerm = INHIBIT_KEY_TRANSITION); /** * @brief Determines whether we are on the Golden side or not |

