summaryrefslogtreecommitdiffstats
path: root/src/include/usr/sbe
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2016-10-06 11:27:40 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-10-07 13:48:45 -0400
commit90b0798b2ba62bd1fc00bbe183b71df5e2d796fb (patch)
tree26d6a9fec21fdc9b54a802ece7f575db6dff1c0d /src/include/usr/sbe
parentbab702287b0b940351e66a4773b4424719843984 (diff)
downloadtalos-hostboot-90b0798b2ba62bd1fc00bbe183b71df5e2d796fb.tar.gz
talos-hostboot-90b0798b2ba62bd1fc00bbe183b71df5e2d796fb.zip
Read MC Sync Mode from SBE
The SBE boots the system into a specific mode for MC/Nest running synchronously. Hostboot needs to detect the mode that we booted in and set our live copy based on that since it may be out of sync from what our attribute might say. Change-Id: I4d7839eb4dd7e40fa045006abfdedc35b16f956c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30811 Reviewed-by: Martin Gloff <mgloff@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: Dean Sanner <dsanner@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/include/usr/sbe')
-rw-r--r--src/include/usr/sbe/sbeif.H9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/usr/sbe/sbeif.H b/src/include/usr/sbe/sbeif.H
index 033e94908..e095250fa 100644
--- a/src/include/usr/sbe/sbeif.H
+++ b/src/include/usr/sbe/sbeif.H
@@ -132,6 +132,15 @@ namespace SBE
*/
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.
+ *
+ * @return errlHndl_t Error log handle on error.
+ */
+ errlHndl_t getBootMcSyncMode( uint8_t& o_mcSyncMode );
+
} //end namespace SBE
#endif /* _SBEIF_H */
OpenPOWER on IntegriCloud