From 3fccec532279664b2c99464161b17a1a1fc42406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Thu, 18 Jun 2020 13:46:31 +0300 Subject: cpu/x86/smm: Use already defined APM_CNT messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie9635e10dffe2f5fbef7cfbd556c3152dee58ccc Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/42616 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/mainboard/google/parrot/mainboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/google/parrot') diff --git a/src/mainboard/google/parrot/mainboard.c b/src/mainboard/google/parrot/mainboard.c index e68a13bb2e..4e031d3dfb 100644 --- a/src/mainboard/google/parrot/mainboard.c +++ b/src/mainboard/google/parrot/mainboard.c @@ -1,10 +1,10 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include +#include #include #include #include -#include #include "onboard.h" #include "ec.h" #include @@ -15,7 +15,7 @@ void mainboard_suspend_resume(void) { /* Enable ACPI mode before OS resume */ - outb(0xe1, 0xb2); + apm_control(APM_CNT_ACPI_ENABLE); } -- cgit v1.2.3