aboutsummaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/slippy/smihandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/slippy/smihandler.c')
-rw-r--r--src/mainboard/google/slippy/smihandler.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/google/slippy/smihandler.c b/src/mainboard/google/slippy/smihandler.c
index f8eac3169..7643fb189 100644
--- a/src/mainboard/google/slippy/smihandler.c
+++ b/src/mainboard/google/slippy/smihandler.c
@@ -121,14 +121,13 @@ void mainboard_smi_sleep(u8 slp_typ)
while (google_chromeec_get_event() != 0);
}
-#define APMC_FINALIZE 0xcb
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;