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>
diff --git a/src/mainboard/amd/onyx/dsdt.asl b/src/mainboard/amd/onyx/dsdt.asl
index 69b0e5e..7f1f18e 100644
--- a/src/mainboard/amd/onyx/dsdt.asl
+++ b/src/mainboard/amd/onyx/dsdt.asl
@@ -11,7 +11,6 @@
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 d7684cf..00eb48a 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"