diff options
author | Matt Derksen <mderkse1@us.ibm.com> | 2018-01-31 10:28:57 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-02-07 17:40:16 -0500 |
commit | d5bdfe28f46fe9b68994b77212497c25bddcdc93 (patch) | |
tree | a776781b9c35bc7ca6abfae3c8e2725bbec71522 /src/include/runtime/interface.h | |
parent | 975d6f745c830cb54cff7a2cf751d57b44db83c0 (diff) | |
download | talos-hostboot-d5bdfe28f46fe9b68994b77212497c25bddcdc93.tar.gz talos-hostboot-d5bdfe28f46fe9b68994b77212497c25bddcdc93.zip |
Initialize SBE message communication on HBRT start
Need to clear first 2 bits in CFAM register 0x283B.
This basically resets our SBE communication stream just
incase HBRT restarts after processing SBE interrupt.
Clearing these bits tells the sender to resend the command.
Change-Id: I1a1c5b80cc99414649d38c06b93428c87299f242
RTC:186334
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53225
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Brian E. Bakke <bbakke@us.ibm.com>
Reviewed-by: Roland Veloz <rveloz@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/runtime/interface.h')
-rw-r--r-- | src/include/runtime/interface.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/runtime/interface.h b/src/include/runtime/interface.h index 2fa93a398..158e331dd 100644 --- a/src/include/runtime/interface.h +++ b/src/include/runtime/interface.h @@ -936,6 +936,12 @@ struct postInitCalls_t */ void (*callApplyTempOverrides)(); + /** + * @brief Clear pending SBE messages + * + */ + void (*callClearPendingSbeMsgs)(); + }; extern hostInterfaces_t* g_hostInterfaces; |