aboutsummaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/link/mainboard_smi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/link/mainboard_smi.c')
-rw-r--r--src/mainboard/google/link/mainboard_smi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/google/link/mainboard_smi.c b/src/mainboard/google/link/mainboard_smi.c
index 24fa8b5ce..d60d319a4 100644
--- a/src/mainboard/google/link/mainboard_smi.c
+++ b/src/mainboard/google/link/mainboard_smi.c
@@ -118,7 +118,6 @@ void mainboard_smi_sleep(u8 slp_typ)
google_chromeec_set_wake_mask(LINK_EC_S3_WAKE_EVENTS);
}
-#define APMC_FINALIZE 0xcb
#define APMC_ACPI_EN 0xe1
#define APMC_ACPI_DIS 0x1e
@@ -127,7 +126,7 @@ static int mainboard_finalized = 0;
int mainboard_smi_apmc(u8 apmc)
{
switch (apmc) {
- case APMC_FINALIZE:
+ case APM_CNT_FINALIZE:
if (mainboard_finalized) {
printk(BIOS_DEBUG, "SMI#: Already finalized\n");
return 0;