From 656743fb6b5f43c717b8d1685f32ee9e33694b4b Mon Sep 17 00:00:00 2001 From: Marshall Dawson Date: Mon, 25 Jan 2021 16:54:42 -0700 Subject: soc/amd/common: Notify SMU of AC/DC state upon resume As a result of S3 resume, call ALIB function 1 to report the current AC/DC state. BUG=177377069 TEST=Verify printf is called during resume on Morphius BRANCH=Zork Signed-off-by: Marshall Dawson Change-Id: I3e52b0625c1222f10ea27568d5431328131a26a9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/49911 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/soc/amd/common/acpi/platform.asl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/soc/amd/common/acpi/platform.asl b/src/soc/amd/common/acpi/platform.asl index 6db12e3d47..23ab7ac713 100644 --- a/src/soc/amd/common/acpi/platform.asl +++ b/src/soc/amd/common/acpi/platform.asl @@ -18,6 +18,8 @@ Scope (\_SB){ /* Platform-wide wake methods */ Method (\_WAK, 1, NotSerialized) { + PNOT () + If (CondRefOf (\_SB.MWAK)) { \_SB.MWAK() } -- cgit v1.2.3