aboutsummaryrefslogtreecommitdiffstats
path: root/src/mainboard/samsung
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2015-05-16 13:33:49 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2015-05-16 15:59:42 +0200
commit3026e473dafa1d06f69f44fda19aab75fb15ed8a (patch)
tree5d77c2ce58113d438aeb9e7af9c689f56a49f12d /src/mainboard/samsung
parent5b667df135dc4736f87d0650cc64b2c052bc9b73 (diff)
downloadcoreboot-3026e473dafa1d06f69f44fda19aab75fb15ed8a.tar.gz
coreboot-3026e473dafa1d06f69f44fda19aab75fb15ed8a.tar.xz
coreboot-3026e473dafa1d06f69f44fda19aab75fb15ed8a.zip
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 <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/10226 Tested-by: build bot (Jenkins) Reviewed-by: Nicolas Reinecke <nr@das-labor.org>
Diffstat (limited to 'src/mainboard/samsung')
-rw-r--r--src/mainboard/samsung/lumpy/smihandler.c3
-rw-r--r--src/mainboard/samsung/stumpy/smihandler.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/mainboard/samsung/lumpy/smihandler.c b/src/mainboard/samsung/lumpy/smihandler.c
index 417ccd87f..e560d0eda 100644
--- a/src/mainboard/samsung/lumpy/smihandler.c
+++ b/src/mainboard/samsung/lumpy/smihandler.c
@@ -85,7 +85,6 @@ void mainboard_smi_gpi(u32 gpi_sts)
}
}
-#define APMC_FINALIZE 0xcb
static int mainboard_finalized = 0;
@@ -104,7 +103,7 @@ int mainboard_smi_apmc(u8 apmc)
send_ec_command(EC_ACPI_DISABLE);
break;
- case APMC_FINALIZE:
+ case APM_CNT_FINALIZE:
if (mainboard_finalized) {
printk(BIOS_DEBUG, "SMI#: Already finalized\n");
return 0;
diff --git a/src/mainboard/samsung/stumpy/smihandler.c b/src/mainboard/samsung/stumpy/smihandler.c
index b23258473..662579221 100644
--- a/src/mainboard/samsung/stumpy/smihandler.c
+++ b/src/mainboard/samsung/stumpy/smihandler.c
@@ -89,14 +89,13 @@ void mainboard_smi_sleep(u8 slp_typ)
}
}
-#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;