soc/amd/cezanne: Add DPTC support
Add support for DPTC by calling SB.DPTC() as part of PNOT(). Change-Id: I29d7177c96217bf03eaea818cfc1f944f4e640a6 Signed-off-by: Ana Carolina Cabral <ana.cpmelo95@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/87218 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
24ff10d76e
commit
7fd815dffe
1 changed files with 7 additions and 0 deletions
|
|
@ -36,6 +36,9 @@ Scope(\_SB) {
|
|||
#include <soc/amd/common/acpi/dptc.asl>
|
||||
#endif
|
||||
|
||||
/* Enable DPTC interface with AMD ALIB */
|
||||
External(\_SB.DPTC, MethodObj)
|
||||
|
||||
#include "rtc_workaround.asl"
|
||||
|
||||
/*
|
||||
|
|
@ -47,4 +50,8 @@ Method (PNOT)
|
|||
{
|
||||
/* Report AC/DC state to ALIB using WAL1() */
|
||||
\WAL1 ()
|
||||
|
||||
If (CondRefOf (\_SB.DPTC)) {
|
||||
\_SB.DPTC()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue