summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-12-12 17:56:39 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-12-13 20:30:32 +0000
commitbff98237008c1f18858aa652a9ef4d4e69a07e01 (patch)
tree0dbb5a97976de56b0eed359e28720427dbdc0cfb /src
parentdd032e0c41dc24e24f51f2753e61b50101601e8d (diff)
soc/amd/genoa/acpi: include globalnvs.asl in SoC code
Instead of including globalnvs.asl in the mainboard's dsdt.asl, include it in Genoa's soc.asl. This aligns Genoa with Cezanne and newer and also moves more SoC-common code to the SoC folder. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ie0e3299a95e007188a4d9de824cfff8d25a778be Reviewed-on: https://review.coreboot.org/c/coreboot/+/79465 Reviewed-by: Martin L Roth <gaumless@gmail.com> Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/amd/onyx/dsdt.asl1
-rw-r--r--src/soc/amd/genoa/acpi/soc.asl2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/amd/onyx/dsdt.asl b/src/mainboard/amd/onyx/dsdt.asl
index 69b0e5e31b..7f1f18e042 100644
--- a/src/mainboard/amd/onyx/dsdt.asl
+++ b/src/mainboard/amd/onyx/dsdt.asl
@@ -11,7 +11,6 @@ DefinitionBlock (
0x00010001 /* OEM Revision */
)
{ /* Start of ASL file */
- #include <globalnvs.asl>
#include <soc.asl>
} /* End of ASL file */
diff --git a/src/soc/amd/genoa/acpi/soc.asl b/src/soc/amd/genoa/acpi/soc.asl
index d7684cff09..00eb48a43a 100644
--- a/src/soc/amd/genoa/acpi/soc.asl
+++ b/src/soc/amd/genoa/acpi/soc.asl
@@ -1,5 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include "globalnvs.asl"
+
Scope(\_SB) {
/* global utility methods expected within the \_SB scope */
#include "pci_int_defs.asl"