diff options
Diffstat (limited to 'sbe/sbefw/sbefifo.H')
-rw-r--r-- | sbe/sbefw/sbefifo.H | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sbe/sbefw/sbefifo.H b/sbe/sbefw/sbefifo.H index b9be8cd9..74386cb5 100644 --- a/sbe/sbefw/sbefifo.H +++ b/sbe/sbefw/sbefifo.H @@ -122,6 +122,16 @@ typedef struct uint32_t reserved; } sbeDownFifoStatusReg_t; +// @TODO via RTC 142985: move to a better file with final fix +// Do a R-M-W to retain un-related bits +/** + * @brief Update SBE Messaging Register with the SBE states + */ +const uint32_t SBE_SCOM_MESSAGE_REGISTER = 0x50009; +const uint64_t SBE_STATE_PK_READY = 0x8000000000000000ull; + +#define SBE_UPDATE_SBE_MSG_REG(value) \ + putscom_abs(SBE_SCOM_MESSAGE_REGISTER, (value)); /*****************************************************************/ /** Upstream FIFO access utilities **/ |