summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2017-05-05 15:52:48 -0500
committerAaron Durbin <adurbin@chromium.org>2017-05-08 06:10:42 +0200
commit0edf5dc331d427758fc6c72f176e019ede06fb92 (patch)
treed38e6aac77569c2de4aa840f63bbd61c382502cf /src/soc/intel
parent5c48b7e9f2d0249b07a673b4531a4781dd088616 (diff)
soc/intel/apollolake: remove southbridge_clear_smi_status()
The southbridge_clear_smi_status() is not used. Remove it. Change-Id: Ia358c6aca93630753ac4b59b6fc86b1ea1eb9ca6 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/19599 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/apollolake/include/soc/smm.h3
-rw-r--r--src/soc/intel/apollolake/smi.c12
2 files changed, 0 insertions, 15 deletions
diff --git a/src/soc/intel/apollolake/include/soc/smm.h b/src/soc/intel/apollolake/include/soc/smm.h
index 740d02b114..b37694e6f7 100644
--- a/src/soc/intel/apollolake/include/soc/smm.h
+++ b/src/soc/intel/apollolake/include/soc/smm.h
@@ -22,9 +22,6 @@
#include <soc/gpio.h>
#include <fsp/memmap.h>
-/* These helpers are for performing SMM relocation. */
-void southbridge_clear_smi_status(void);
-
/*
* The initialization of the southbridge is split into 2 compoments. One is
* for clearing the state in the SMM registers. The other is for enabling
diff --git a/src/soc/intel/apollolake/smi.c b/src/soc/intel/apollolake/smi.c
index 3ad33fde9d..cf1b386109 100644
--- a/src/soc/intel/apollolake/smi.c
+++ b/src/soc/intel/apollolake/smi.c
@@ -55,18 +55,6 @@ void southbridge_smm_enable_smi(void)
enable_smi(APMC_EN | SLP_SMI_EN | GBL_SMI_EN | EOS | GPIO_EN);
}
-void southbridge_clear_smi_status(void)
-{
- /* Clear SMI status */
- clear_smi_status();
-
- /* Clear PM1 status */
- clear_pm1_status();
-
- /* Set EOS bit so other SMIs can occur. */
- enable_smi(EOS);
-}
-
void smm_setup_structures(void *gnvs, void *tcg, void *smi1)
{
/*