From cf246d5166170ba78fcbe2a013135fb233fc9c39 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Thu, 21 Jan 2021 08:17:00 +0200 Subject: ACPI: Add top-level ASL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Objects that are created with acpigen need to be declared with External () for the generation of dsdt.asl to pass iasl without errors. There are some objects that are common to all platforms, and some that should be declared only conditionally. Having a top-level ASL helps to achieve this. Change-Id: Ibaf1ab9941b82f99e5fa857c0c7e4b6192c74330 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/49794 Tested-by: build bot (Jenkins) Reviewed-by: Wim Vervoorn Reviewed-by: Patrick Rudolph Reviewed-by: Christian Walter Reviewed-by: Angel Pons --- src/mainboard/foxconn/d41s/dsdt.asl | 1 + src/mainboard/foxconn/g41s-k/dsdt.asl | 1 + 2 files changed, 2 insertions(+) (limited to 'src/mainboard/foxconn') diff --git a/src/mainboard/foxconn/d41s/dsdt.asl b/src/mainboard/foxconn/d41s/dsdt.asl index 5e74be86e9..25bdc1273b 100644 --- a/src/mainboard/foxconn/d41s/dsdt.asl +++ b/src/mainboard/foxconn/d41s/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20090419 // OEM revision ) { + #include #include #include diff --git a/src/mainboard/foxconn/g41s-k/dsdt.asl b/src/mainboard/foxconn/g41s-k/dsdt.asl index 05a0534ea4..12c14f7a71 100644 --- a/src/mainboard/foxconn/g41s-k/dsdt.asl +++ b/src/mainboard/foxconn/g41s-k/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20090419 // OEM revision ) { + #include // global NVS and variables #include #include -- cgit v1.2.3