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>
This commit is contained in:
parent
9e591c409a
commit
22236a580d
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue