From cf246d5166170ba78fcbe2a013135fb233fc9c39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= 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/intel/adlrvp/dsdt.asl | 1 + src/mainboard/intel/apollolake_rvp/dsdt.asl | 1 + src/mainboard/intel/baskingridge/dsdt.asl | 1 + src/mainboard/intel/cedarisland_crb/dsdt.asl | 1 + src/mainboard/intel/coffeelake_rvp/dsdt.asl | 1 + src/mainboard/intel/d510mo/dsdt.asl | 1 + src/mainboard/intel/d945gclf/dsdt.asl | 1 + src/mainboard/intel/dcp847ske/dsdt.asl | 1 + src/mainboard/intel/dg41wv/dsdt.asl | 1 + src/mainboard/intel/dg43gt/dsdt.asl | 1 + src/mainboard/intel/elkhartlake_crb/dsdt.asl | 1 + src/mainboard/intel/emeraldlake2/dsdt.asl | 1 + src/mainboard/intel/galileo/dsdt.asl | 1 + src/mainboard/intel/glkrvp/dsdt.asl | 1 + src/mainboard/intel/harcuvar/dsdt.asl | 1 + src/mainboard/intel/icelake_rvp/dsdt.asl | 1 + src/mainboard/intel/jasperlake_rvp/dsdt.asl | 1 + src/mainboard/intel/kblrvp/dsdt.asl | 1 + src/mainboard/intel/kunimitsu/dsdt.asl | 1 + src/mainboard/intel/leafhill/dsdt.asl | 1 + src/mainboard/intel/minnow3/dsdt.asl | 1 + src/mainboard/intel/saddlebrook/dsdt.asl | 1 + src/mainboard/intel/shadowmountain/dsdt.asl | 1 + src/mainboard/intel/strago/dsdt.asl | 1 + src/mainboard/intel/tglrvp/dsdt.asl | 1 + src/mainboard/intel/wtm2/dsdt.asl | 1 + 26 files changed, 26 insertions(+) (limited to 'src/mainboard/intel') diff --git a/src/mainboard/intel/adlrvp/dsdt.asl b/src/mainboard/intel/adlrvp/dsdt.asl index 6e7ccd1d7c..cf73ddf62b 100644 --- a/src/mainboard/intel/adlrvp/dsdt.asl +++ b/src/mainboard/intel/adlrvp/dsdt.asl @@ -13,6 +13,7 @@ DefinitionBlock( 0x20110725 /* OEM revision */ ) { + #include #include /* global NVS and variables */ diff --git a/src/mainboard/intel/apollolake_rvp/dsdt.asl b/src/mainboard/intel/apollolake_rvp/dsdt.asl index 6806a8d1b9..6c1868a51b 100644 --- a/src/mainboard/intel/apollolake_rvp/dsdt.asl +++ b/src/mainboard/intel/apollolake_rvp/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20110725 /* OEM revision */ ) { + #include Scope (\_SB) { Device (PCI0) { diff --git a/src/mainboard/intel/baskingridge/dsdt.asl b/src/mainboard/intel/baskingridge/dsdt.asl index 5971917f9d..ac8f408709 100644 --- a/src/mainboard/intel/baskingridge/dsdt.asl +++ b/src/mainboard/intel/baskingridge/dsdt.asl @@ -12,6 +12,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include #include "acpi/platform.asl" // global NVS and variables diff --git a/src/mainboard/intel/cedarisland_crb/dsdt.asl b/src/mainboard/intel/cedarisland_crb/dsdt.asl index d880d5416d..a9e2b053d8 100644 --- a/src/mainboard/intel/cedarisland_crb/dsdt.asl +++ b/src/mainboard/intel/cedarisland_crb/dsdt.asl @@ -12,6 +12,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include #include "acpi/platform.asl" Name(_S0, Package() { 0x00, 0x00, 0x00, 0x00 }) diff --git a/src/mainboard/intel/coffeelake_rvp/dsdt.asl b/src/mainboard/intel/coffeelake_rvp/dsdt.asl index b415336ec1..73b95e60e8 100644 --- a/src/mainboard/intel/coffeelake_rvp/dsdt.asl +++ b/src/mainboard/intel/coffeelake_rvp/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include #include // global NVS and variables diff --git a/src/mainboard/intel/d510mo/dsdt.asl b/src/mainboard/intel/d510mo/dsdt.asl index 5e74be86e9..25bdc1273b 100644 --- a/src/mainboard/intel/d510mo/dsdt.asl +++ b/src/mainboard/intel/d510mo/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20090419 // OEM revision ) { + #include #include #include diff --git a/src/mainboard/intel/d945gclf/dsdt.asl b/src/mainboard/intel/d945gclf/dsdt.asl index 80c5ff44c6..c2aa8497cc 100644 --- a/src/mainboard/intel/d945gclf/dsdt.asl +++ b/src/mainboard/intel/d945gclf/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20090419 // OEM revision ) { + #include #include "acpi/platform.asl" // global NVS and variables diff --git a/src/mainboard/intel/dcp847ske/dsdt.asl b/src/mainboard/intel/dcp847ske/dsdt.asl index abbb01c7df..fd97836564 100644 --- a/src/mainboard/intel/dcp847ske/dsdt.asl +++ b/src/mainboard/intel/dcp847ske/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20141018 // OEM revision ) { + #include #include "acpi/platform.asl" #include #include diff --git a/src/mainboard/intel/dg41wv/dsdt.asl b/src/mainboard/intel/dg41wv/dsdt.asl index 05a0534ea4..12c14f7a71 100644 --- a/src/mainboard/intel/dg41wv/dsdt.asl +++ b/src/mainboard/intel/dg41wv/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20090419 // OEM revision ) { + #include // global NVS and variables #include #include diff --git a/src/mainboard/intel/dg43gt/dsdt.asl b/src/mainboard/intel/dg43gt/dsdt.asl index 71f501bba8..242db5390b 100644 --- a/src/mainboard/intel/dg43gt/dsdt.asl +++ b/src/mainboard/intel/dg43gt/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20090419 // OEM revision ) { + #include // global NVS and variables #include #include diff --git a/src/mainboard/intel/elkhartlake_crb/dsdt.asl b/src/mainboard/intel/elkhartlake_crb/dsdt.asl index 9dd33a8ab7..5e93d62211 100644 --- a/src/mainboard/intel/elkhartlake_crb/dsdt.asl +++ b/src/mainboard/intel/elkhartlake_crb/dsdt.asl @@ -11,6 +11,7 @@ DefinitionBlock( 0x20110725 /* OEM revision */ ) { + #include #include /* global NVS and variables */ diff --git a/src/mainboard/intel/emeraldlake2/dsdt.asl b/src/mainboard/intel/emeraldlake2/dsdt.asl index 8cd857fa68..5942be8c62 100644 --- a/src/mainboard/intel/emeraldlake2/dsdt.asl +++ b/src/mainboard/intel/emeraldlake2/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include #include #include "acpi/platform.asl" diff --git a/src/mainboard/intel/galileo/dsdt.asl b/src/mainboard/intel/galileo/dsdt.asl index 0f4cc02689..11e3c7ea84 100644 --- a/src/mainboard/intel/galileo/dsdt.asl +++ b/src/mainboard/intel/galileo/dsdt.asl @@ -10,4 +10,5 @@ DefinitionBlock( 0x20160220 // OEM revision ) { + #include } diff --git a/src/mainboard/intel/glkrvp/dsdt.asl b/src/mainboard/intel/glkrvp/dsdt.asl index f87b96282e..fd8054e808 100644 --- a/src/mainboard/intel/glkrvp/dsdt.asl +++ b/src/mainboard/intel/glkrvp/dsdt.asl @@ -13,6 +13,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include /* global NVS and variables */ #include diff --git a/src/mainboard/intel/harcuvar/dsdt.asl b/src/mainboard/intel/harcuvar/dsdt.asl index 875e664ecc..e8dcb787a3 100644 --- a/src/mainboard/intel/harcuvar/dsdt.asl +++ b/src/mainboard/intel/harcuvar/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include #include #include "acpi/platform.asl" #include "acpi/mainboard.asl" diff --git a/src/mainboard/intel/icelake_rvp/dsdt.asl b/src/mainboard/intel/icelake_rvp/dsdt.asl index 4beeabae4d..376c9a5415 100644 --- a/src/mainboard/intel/icelake_rvp/dsdt.asl +++ b/src/mainboard/intel/icelake_rvp/dsdt.asl @@ -13,6 +13,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include #include // global NVS and variables diff --git a/src/mainboard/intel/jasperlake_rvp/dsdt.asl b/src/mainboard/intel/jasperlake_rvp/dsdt.asl index 83ef3af4e8..15489572dc 100644 --- a/src/mainboard/intel/jasperlake_rvp/dsdt.asl +++ b/src/mainboard/intel/jasperlake_rvp/dsdt.asl @@ -13,6 +13,7 @@ DefinitionBlock( 0x20110725 /* OEM revision */ ) { + #include #include /* global NVS and variables */ diff --git a/src/mainboard/intel/kblrvp/dsdt.asl b/src/mainboard/intel/kblrvp/dsdt.asl index 4f3773a3ee..24f795f1bb 100644 --- a/src/mainboard/intel/kblrvp/dsdt.asl +++ b/src/mainboard/intel/kblrvp/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include #include // global NVS and variables diff --git a/src/mainboard/intel/kunimitsu/dsdt.asl b/src/mainboard/intel/kunimitsu/dsdt.asl index 4bf179351b..471f4d31e6 100644 --- a/src/mainboard/intel/kunimitsu/dsdt.asl +++ b/src/mainboard/intel/kunimitsu/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include #include // global NVS and variables diff --git a/src/mainboard/intel/leafhill/dsdt.asl b/src/mainboard/intel/leafhill/dsdt.asl index 0d6a863e44..0ff068f43a 100644 --- a/src/mainboard/intel/leafhill/dsdt.asl +++ b/src/mainboard/intel/leafhill/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include /* global NVS and variables */ #include diff --git a/src/mainboard/intel/minnow3/dsdt.asl b/src/mainboard/intel/minnow3/dsdt.asl index 0d6a863e44..0ff068f43a 100644 --- a/src/mainboard/intel/minnow3/dsdt.asl +++ b/src/mainboard/intel/minnow3/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include /* global NVS and variables */ #include diff --git a/src/mainboard/intel/saddlebrook/dsdt.asl b/src/mainboard/intel/saddlebrook/dsdt.asl index b5e9a0b076..ad20f909c5 100644 --- a/src/mainboard/intel/saddlebrook/dsdt.asl +++ b/src/mainboard/intel/saddlebrook/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include #include // global NVS and variables diff --git a/src/mainboard/intel/shadowmountain/dsdt.asl b/src/mainboard/intel/shadowmountain/dsdt.asl index 10d08e26e2..c8dc9ee2c3 100644 --- a/src/mainboard/intel/shadowmountain/dsdt.asl +++ b/src/mainboard/intel/shadowmountain/dsdt.asl @@ -11,4 +11,5 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include } diff --git a/src/mainboard/intel/strago/dsdt.asl b/src/mainboard/intel/strago/dsdt.asl index 309a21721f..05b5b2e74f 100644 --- a/src/mainboard/intel/strago/dsdt.asl +++ b/src/mainboard/intel/strago/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20110725 /* OEM revision */ ) { + #include #include /* global NVS and variables */ diff --git a/src/mainboard/intel/tglrvp/dsdt.asl b/src/mainboard/intel/tglrvp/dsdt.asl index a93f008b08..1f45c36849 100644 --- a/src/mainboard/intel/tglrvp/dsdt.asl +++ b/src/mainboard/intel/tglrvp/dsdt.asl @@ -13,6 +13,7 @@ DefinitionBlock( 0x20110725 /* OEM revision */ ) { + #include #include /* global NVS and variables */ diff --git a/src/mainboard/intel/wtm2/dsdt.asl b/src/mainboard/intel/wtm2/dsdt.asl index 37c07f3f4c..dc479c1d4b 100644 --- a/src/mainboard/intel/wtm2/dsdt.asl +++ b/src/mainboard/intel/wtm2/dsdt.asl @@ -12,6 +12,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include #include #include "acpi/platform.asl" -- cgit v1.2.3