summaryrefslogtreecommitdiff
path: root/src/mainboard/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/intel')
-rw-r--r--src/mainboard/intel/baskingridge/mainboard.c4
-rw-r--r--src/mainboard/intel/wtm2/mainboard.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/intel/baskingridge/mainboard.c b/src/mainboard/intel/baskingridge/mainboard.c
index 67299fd831..7111e8fbca 100644
--- a/src/mainboard/intel/baskingridge/mainboard.c
+++ b/src/mainboard/intel/baskingridge/mainboard.c
@@ -1,17 +1,17 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <types.h>
+#include <cpu/x86/smm.h>
#include <device/device.h>
#include <drivers/intel/gma/int15.h>
#include <acpi/acpi.h>
-#include <arch/io.h>
#include <southbridge/intel/lynxpoint/pch.h>
#include <vendorcode/google/chromeos/chromeos.h>
void mainboard_suspend_resume(void)
{
/* Call SMM finalize() handlers before resume */
- outb(0xcb, 0xb2);
+ apm_control(APM_CNT_FINALIZE);
}
// mainboard_enable is executed as first thing after
diff --git a/src/mainboard/intel/wtm2/mainboard.c b/src/mainboard/intel/wtm2/mainboard.c
index 180a36228a..c0a5764e58 100644
--- a/src/mainboard/intel/wtm2/mainboard.c
+++ b/src/mainboard/intel/wtm2/mainboard.c
@@ -1,16 +1,16 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <types.h>
+#include <cpu/x86/smm.h>
#include <device/device.h>
#include <drivers/intel/gma/int15.h>
#include <acpi/acpi.h>
-#include <arch/io.h>
#include <vendorcode/google/chromeos/chromeos.h>
void mainboard_suspend_resume(void)
{
/* Call SMM finalize() handlers before resume */
- outb(0xcb, 0xb2);
+ apm_control(APM_CNT_FINALIZE);
}
// mainboard_enable is executed as first thing after