summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-01-08 13:33:10 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2021-01-26 09:14:15 +0000
commit22236a580d45bdd6d7b5f9d2d64f3ddf64f4dd04 (patch)
tree5915ca8970b2f1ff726add6c63a94eaed419828b /src
parent9e591c409a3e3264f54a3784b0891a7f27dd52d8 (diff)
cpu/x86/smm: Remove unused APMC for C-state and P-state
Change-Id: I7a3a1b63c0ef14b1e24ecce2df66f7970e5eb669 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49892 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/cpu/x86/smm/smi_trigger.c6
-rw-r--r--src/include/cpu/x86/smm.h2
2 files changed, 0 insertions, 8 deletions
diff --git a/src/cpu/x86/smm/smi_trigger.c b/src/cpu/x86/smm/smi_trigger.c
index ff5eeae778..e4c6dc9417 100644
--- a/src/cpu/x86/smm/smi_trigger.c
+++ b/src/cpu/x86/smm/smi_trigger.c
@@ -7,12 +7,6 @@
static void apmc_log(const char *fn, u8 cmd)
{
switch (cmd) {
- case APM_CNT_CST_CONTROL:
- printk(BIOS_DEBUG, "%s: C-state control.\n", fn);
- break;
- case APM_CNT_PST_CONTROL:
- printk(BIOS_DEBUG, "%s: P-state control.\n", fn);
- break;
case APM_CNT_ACPI_DISABLE:
printk(BIOS_DEBUG, "%s: Disabling ACPI.\n", fn);
break;
diff --git a/src/include/cpu/x86/smm.h b/src/include/cpu/x86/smm.h
index 31827cfb3f..cd83bdf4bd 100644
--- a/src/include/cpu/x86/smm.h
+++ b/src/include/cpu/x86/smm.h
@@ -18,8 +18,6 @@
#define APM_CNT 0xb2
#define APM_CNT_NOOP_SMI 0x00
-#define APM_CNT_CST_CONTROL 0x85
-#define APM_CNT_PST_CONTROL 0x80
#define APM_CNT_ACPI_DISABLE 0x1e
#define APM_CNT_ACPI_ENABLE 0xe1
#define APM_CNT_ROUTE_ALL_XHCI 0xca