summaryrefslogtreecommitdiff
path: root/src/soc/amd/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/common')
-rw-r--r--src/soc/amd/common/block/smi/smi_util.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/smi/smi_util.c b/src/soc/amd/common/block/smi/smi_util.c
index 1e4561d7a5..e3379f35fd 100644
--- a/src/soc/amd/common/block/smi/smi_util.c
+++ b/src/soc/amd/common/block/smi/smi_util.c
@@ -65,6 +65,13 @@ void global_smi_enable(void)
smi_write32(SMI_REG_SMITRIG0, reg);
}
+void southbridge_smi_set_eos(void)
+{
+ uint32_t reg = smi_read32(SMI_REG_SMITRIG0);
+ reg |= SMITRG0_EOS;
+ smi_write32(SMI_REG_SMITRIG0, reg);
+}
+
void soc_route_sci(uint8_t event)
{
smi_write8(SMI_SCI_MAP(event), event);