summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-05-07 20:11:16 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-05-08 18:21:34 +0000
commitcd922f528fb55dbe512927107d282ef1a05185dc (patch)
tree8e2b24347825a4ff4fb511d33d581c09cdf22786
parent38ea678258ff89c4e46befa6f2287fb2cd5461fd (diff)
soc/amd/cezanne/acpi/soc: call WAL1 for AC/DC state ALIB call
BUG=b:187212773, b:185481298 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I2cf50257d767525d682602cdcc5547bf001fe2ac Reviewed-on: https://review.coreboot.org/c/coreboot/+/53921 Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/amd/cezanne/acpi/soc.asl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/amd/cezanne/acpi/soc.asl b/src/soc/amd/cezanne/acpi/soc.asl
index f7781dab2e..5039ca1faf 100644
--- a/src/soc/amd/cezanne/acpi/soc.asl
+++ b/src/soc/amd/cezanne/acpi/soc.asl
@@ -17,6 +17,8 @@ Scope(\_SB) {
#include "pci0.asl"
} /* End \_SB scope */
+#include <soc/amd/common/acpi/alib.asl>
+
#include <soc/amd/common/acpi/platform.asl>
#include <soc/amd/common/acpi/sleepstates.asl>
@@ -30,4 +32,6 @@ Scope(\_SB) {
*/
Method (PNOT)
{
+ /* Report AC/DC state to ALIB using WAL1() */
+ \WAL1 ()
}