diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2021-04-07 21:20:51 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-04-09 06:11:19 +0000 |
commit | 5fa07217a4d3fa41fa93b7a05811584fad9dda7a (patch) | |
tree | 2df2369e0f60d7a7e93b2bc8d45d381f4b8a3ebe /src/mainboard | |
parent | 9700fa0697bbb9b346e8bb7975407df83e8a2021 (diff) | |
download | coreboot-5fa07217a4d3fa41fa93b7a05811584fad9dda7a.tar.xz |
mb/{google/jecht,intel/wtm2}: Remove NOOP APM finalize call
The intel/soc/broadwell smihandler has no handler for this APM call.
Change-Id: I2bcec7cce00d433a197a9e2fb01434a2998e1452
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52167
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/google/jecht/mainboard.c | 8 | ||||
-rw-r--r-- | src/mainboard/intel/wtm2/mainboard.c | 8 |
2 files changed, 0 insertions, 16 deletions
diff --git a/src/mainboard/google/jecht/mainboard.c b/src/mainboard/google/jecht/mainboard.c index 786695d21e..7fdcce8cf1 100644 --- a/src/mainboard/google/jecht/mainboard.c +++ b/src/mainboard/google/jecht/mainboard.c @@ -1,16 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <acpi/acpi.h> -#include <cpu/x86/smm.h> #include <vendorcode/google/chromeos/chromeos.h> #include "onboard.h" -void mainboard_suspend_resume(void) -{ - /* Call SMM finalize() handlers before resume */ - apm_control(APM_CNT_FINALIZE); -} - static void mainboard_init(struct device *dev) { lan_init(); diff --git a/src/mainboard/intel/wtm2/mainboard.c b/src/mainboard/intel/wtm2/mainboard.c index 48568cdaf2..e9583acbfc 100644 --- a/src/mainboard/intel/wtm2/mainboard.c +++ b/src/mainboard/intel/wtm2/mainboard.c @@ -1,17 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <cpu/x86/smm.h> #include <device/device.h> #include <drivers/intel/gma/int15.h> -#include <acpi/acpi.h> #include <vendorcode/google/chromeos/chromeos.h> -void mainboard_suspend_resume(void) -{ - /* Call SMM finalize() handlers before resume */ - apm_control(APM_CNT_FINALIZE); -} - // mainboard_enable is executed as first thing after // enumerate_buses(). |