aboutsummaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/butterfly/mainboard_smi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/butterfly/mainboard_smi.c')
-rw-r--r--src/mainboard/google/butterfly/mainboard_smi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/google/butterfly/mainboard_smi.c b/src/mainboard/google/butterfly/mainboard_smi.c
index a40e4288b..1876f319e 100644
--- a/src/mainboard/google/butterfly/mainboard_smi.c
+++ b/src/mainboard/google/butterfly/mainboard_smi.c
@@ -73,7 +73,6 @@ void mainboard_smi_sleep(u8 slp_typ)
}
}
-#define APMC_FINALIZE 0xcb
#define APMC_ACPI_EN 0xe1
#define APMC_ACPI_DIS 0x1e
@@ -83,7 +82,7 @@ int mainboard_smi_apmc(u8 apmc)
{
printk(BIOS_DEBUG, "mainboard_smi_apmc: %x\n", apmc);
switch (apmc) {
- case APMC_FINALIZE:
+ case APM_CNT_FINALIZE:
printk(BIOS_DEBUG, "APMC: FINALIZE\n");
if (mainboard_finalized) {
printk(BIOS_DEBUG, "APMC#: Already finalized\n");