soc/amd/genoa/acpi: update soc.asl

Add the missing parts in soc.asl. Compared to earlier versions of this,
the includes related to S0i3 and DPTC were removed.

Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I89ecf469e44ca2a3b35c9fcf57c008ff29e7b9bd
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79468
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Held 2023-12-12 19:37:24 +01:00
parent c8dfd6d935
commit fa3f1171ef
1 changed files with 23 additions and 0 deletions

View File

@ -5,6 +5,12 @@
Scope(\_SB) { Scope(\_SB) {
/* global utility methods expected within the \_SB scope */ /* global utility methods expected within the \_SB scope */
#include <arch/x86/acpi/globutil.asl>
#include <soc/amd/common/acpi/gpio_bank_lib.asl>
#include <soc/amd/common/acpi/osc.asl>
#include "pci_int_defs.asl" #include "pci_int_defs.asl"
#include "mmio.asl" #include "mmio.asl"
@ -14,3 +20,20 @@ Scope(\_SB) {
ROOT_BRIDGE(S0B2) ROOT_BRIDGE(S0B2)
ROOT_BRIDGE(S0B3) ROOT_BRIDGE(S0B3)
} /* End \_SB scope */ } /* End \_SB scope */
#include <soc/amd/common/acpi/alib.asl>
#include <soc/amd/common/acpi/platform.asl>
#include <soc/amd/common/acpi/sleepstates.asl>
/*
* Platform Notify
*
* This is called by soc/amd/common/acpi/platform.asl.
*/
Method (PNOT)
{
/* Report AC/DC state to ALIB using WAL1() */
\WAL1 ()
}