From 3026e473dafa1d06f69f44fda19aab75fb15ed8a Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 16 May 2015 13:33:49 +0200 Subject: Remove defines APMC_FINALIZE. We already have APM_CNT_FINALIZE defined to the same value. Just use it thoughout. Change-Id: Ife94ec7a34da27d3a720bda7337c02e41f18ac72 Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/10226 Tested-by: build bot (Jenkins) Reviewed-by: Nicolas Reinecke --- src/mainboard/google/link/mainboard_smi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mainboard/google/link') diff --git a/src/mainboard/google/link/mainboard_smi.c b/src/mainboard/google/link/mainboard_smi.c index 24fa8b5ce4..d60d319a4c 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; -- cgit v1.2.3