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>
This commit is contained in:
Marshall Dawson 2021-01-25 16:54:42 -07:00 committed by Patrick Georgi
parent 022c62a7a4
commit 656743fb6b
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@ Scope (\_SB){
/* Platform-wide wake methods */
Method (\_WAK, 1, NotSerialized)
{
PNOT ()
If (CondRefOf (\_SB.MWAK)) {
\_SB.MWAK()
}