samsung/lumpy: Use APMC defines
Change-Id: I658596da1d84b486126d751b6066c3efd3f65290 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74523 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
parent
a9dd3c3fae
commit
7765b1019a
|
@ -47,12 +47,12 @@ int mainboard_smi_apmc(u8 apmc)
|
||||||
ec_set_ports(EC_MAILBOX_PORT, EC_MAILBOX_PORT+1);
|
ec_set_ports(EC_MAILBOX_PORT, EC_MAILBOX_PORT+1);
|
||||||
|
|
||||||
switch (apmc) {
|
switch (apmc) {
|
||||||
case 0xe1: /* ACPI ENABLE */
|
case APM_CNT_ACPI_ENABLE:
|
||||||
send_ec_command(EC_SMI_DISABLE);
|
send_ec_command(EC_SMI_DISABLE);
|
||||||
send_ec_command(EC_ACPI_ENABLE);
|
send_ec_command(EC_ACPI_ENABLE);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x1e: /* ACPI DISABLE */
|
case APM_CNT_ACPI_DISABLE:
|
||||||
send_ec_command(EC_SMI_ENABLE);
|
send_ec_command(EC_SMI_ENABLE);
|
||||||
send_ec_command(EC_ACPI_DISABLE);
|
send_ec_command(EC_ACPI_DISABLE);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue