aboutsummaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/parrot/smihandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/parrot/smihandler.c')
-rw-r--r--src/mainboard/google/parrot/smihandler.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/google/parrot/smihandler.c b/src/mainboard/google/parrot/smihandler.c
index 1d1b23c02..99fabfccb 100644
--- a/src/mainboard/google/parrot/smihandler.c
+++ b/src/mainboard/google/parrot/smihandler.c
@@ -130,7 +130,6 @@ void mainboard_smi_sleep(u8 slp_typ)
}
}
-#define APMC_FINALIZE 0xcb
#define APMC_ACPI_EN 0xe1
#define APMC_ACPI_DIS 0x1e
@@ -140,7 +139,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");