summaryrefslogtreecommitdiff
path: root/src/mainboard/google/beltino
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-06-18 13:46:31 +0300
committerPatrick Georgi <pgeorgi@google.com>2020-06-22 11:44:01 +0000
commit3fccec532279664b2c99464161b17a1a1fc42406 (patch)
tree12b912bacc9e14555ec69f6a34e42850e19f1921 /src/mainboard/google/beltino
parent40b39430939c545b01736d8a3b0581b3e8f88340 (diff)
downloadcoreboot-3fccec532279664b2c99464161b17a1a1fc42406.tar.xz
cpu/x86/smm: Use already defined APM_CNT messages
Change-Id: Ie9635e10dffe2f5fbef7cfbd556c3152dee58ccc Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42616 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/google/beltino')
-rw-r--r--src/mainboard/google/beltino/mainboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/beltino/mainboard.c b/src/mainboard/google/beltino/mainboard.c
index e343d6840b..4c2b3061a4 100644
--- a/src/mainboard/google/beltino/mainboard.c
+++ b/src/mainboard/google/beltino/mainboard.c
@@ -2,7 +2,7 @@
#include <types.h>
#include <acpi/acpi.h>
-#include <arch/io.h>
+#include <cpu/x86/smm.h>
#include <device/device.h>
#include <southbridge/intel/lynxpoint/pch.h>
#include <vendorcode/google/chromeos/chromeos.h>
@@ -12,7 +12,7 @@
void mainboard_suspend_resume(void)
{
/* Call SMM finalize() handlers before resume */
- outb(0xcb, 0xb2);
+ apm_control(APM_CNT_FINALIZE);
}