summaryrefslogtreecommitdiff
path: root/src/soc/amd/mendocino
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/mendocino')
-rw-r--r--src/soc/amd/mendocino/smihandler.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/soc/amd/mendocino/smihandler.c b/src/soc/amd/mendocino/smihandler.c
index de09dc3e5a..c05f3eea3e 100644
--- a/src/soc/amd/mendocino/smihandler.c
+++ b/src/soc/amd/mendocino/smihandler.c
@@ -19,34 +19,6 @@
#include <soc/southbridge.h>
#include <types.h>
-static void fch_apmc_smi_handler(void)
-{
- const uint8_t cmd = inb(pm_acpi_smi_cmd_port());
-
- switch (cmd) {
- case APM_CNT_ACPI_ENABLE:
- acpi_clear_pm_gpe_status();
- acpi_enable_sci();
- break;
- case APM_CNT_ACPI_DISABLE:
- acpi_disable_sci();
- break;
- case APM_CNT_ELOG_GSMI:
- if (CONFIG(ELOG_GSMI))
- handle_smi_gsmi();
- break;
- case APM_CNT_SMMSTORE:
- if (CONFIG(SMMSTORE))
- handle_smi_store();
- break;
- case APM_CNT_SMMINFO:
- psp_notify_smm();
- break;
- }
-
- mainboard_smi_apmc(cmd);
-}
-
/*
* Both the psp_notify_sx_info and the smu_sx_entry call will clobber the SMN index register
* during the SMN accesses. Since the SMI handler is the last thing that gets called before