summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/stoneyridge/imc.c10
-rw-r--r--src/soc/amd/stoneyridge/include/soc/imc.h2
2 files changed, 12 insertions, 0 deletions
diff --git a/src/soc/amd/stoneyridge/imc.c b/src/soc/amd/stoneyridge/imc.c
index 6a5b5d8eba..a42a9e0291 100644
--- a/src/soc/amd/stoneyridge/imc.c
+++ b/src/soc/amd/stoneyridge/imc.c
@@ -78,3 +78,13 @@ void enable_imc_thermal_zone(void)
WriteECmsg(MSG_SYS_TO_IMC, AccessWidth8, &FunNum, &StdHeader);
WaitForEcLDN9MailboxCmdAck(&StdHeader);
}
+
+void imc_sleep(void)
+{
+ ImcSleep(NULL);
+}
+
+void imc_wakeup(void)
+{
+ ImcWakeup(NULL);
+}
diff --git a/src/soc/amd/stoneyridge/include/soc/imc.h b/src/soc/amd/stoneyridge/include/soc/imc.h
index d61340941c..079df79dc4 100644
--- a/src/soc/amd/stoneyridge/include/soc/imc.h
+++ b/src/soc/amd/stoneyridge/include/soc/imc.h
@@ -18,5 +18,7 @@
void imc_reg_init(void);
void enable_imc_thermal_zone(void);
+void imc_sleep(void);
+void imc_wakeup(void);
#endif