summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2021-01-25 16:54:42 -0700
committerPatrick Georgi <pgeorgi@google.com>2021-01-27 10:24:36 +0000
commit656743fb6b5f43c717b8d1685f32ee9e33694b4b (patch)
tree335a3f47f37d1904ceb1b35ce60166ab3f774d41 /src
parent022c62a7a450a71a3b0dd6aaf217d969c62c1891 (diff)
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 <marshalldawson3rd@gmail.com> Change-Id: I3e52b0625c1222f10ea27568d5431328131a26a9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/49911 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src')
-rw-r--r--src/soc/amd/common/acpi/platform.asl2
1 files changed, 2 insertions, 0 deletions
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()
}