summaryrefslogtreecommitdiff
path: root/src/mainboard/intel
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-01-21 08:17:00 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2021-01-27 15:35:13 +0000
commitcf246d5166170ba78fcbe2a013135fb233fc9c39 (patch)
tree27f4643aeb4ab5f9302360ecfb1d8bcb3a04a09d /src/mainboard/intel
parentbdd5031ad2bd70cff6de1f16237dc3f1507c7a64 (diff)
ACPI: Add top-level ASL
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 <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49794 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Wim Vervoorn <wvervoorn@eltan.com> Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-by: Christian Walter <christian.walter@9elements.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/intel')
-rw-r--r--src/mainboard/intel/adlrvp/dsdt.asl1
-rw-r--r--src/mainboard/intel/apollolake_rvp/dsdt.asl1
-rw-r--r--src/mainboard/intel/baskingridge/dsdt.asl1
-rw-r--r--src/mainboard/intel/cedarisland_crb/dsdt.asl1
-rw-r--r--src/mainboard/intel/coffeelake_rvp/dsdt.asl1
-rw-r--r--src/mainboard/intel/d510mo/dsdt.asl1
-rw-r--r--src/mainboard/intel/d945gclf/dsdt.asl1
-rw-r--r--src/mainboard/intel/dcp847ske/dsdt.asl1
-rw-r--r--src/mainboard/intel/dg41wv/dsdt.asl1
-rw-r--r--src/mainboard/intel/dg43gt/dsdt.asl1
-rw-r--r--src/mainboard/intel/elkhartlake_crb/dsdt.asl1
-rw-r--r--src/mainboard/intel/emeraldlake2/dsdt.asl1
-rw-r--r--src/mainboard/intel/galileo/dsdt.asl1
-rw-r--r--src/mainboard/intel/glkrvp/dsdt.asl1
-rw-r--r--src/mainboard/intel/harcuvar/dsdt.asl1
-rw-r--r--src/mainboard/intel/icelake_rvp/dsdt.asl1
-rw-r--r--src/mainboard/intel/jasperlake_rvp/dsdt.asl1
-rw-r--r--src/mainboard/intel/kblrvp/dsdt.asl1
-rw-r--r--src/mainboard/intel/kunimitsu/dsdt.asl1
-rw-r--r--src/mainboard/intel/leafhill/dsdt.asl1
-rw-r--r--src/mainboard/intel/minnow3/dsdt.asl1
-rw-r--r--src/mainboard/intel/saddlebrook/dsdt.asl1
-rw-r--r--src/mainboard/intel/shadowmountain/dsdt.asl1
-rw-r--r--src/mainboard/intel/strago/dsdt.asl1
-rw-r--r--src/mainboard/intel/tglrvp/dsdt.asl1
-rw-r--r--src/mainboard/intel/wtm2/dsdt.asl1
26 files changed, 26 insertions, 0 deletions
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 <acpi/dsdt_top.asl>
#include <soc/intel/common/block/acpi/acpi/platform.asl>
/* 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 <acpi/dsdt_top.asl>
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 <acpi/dsdt_top.asl>
#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 <acpi/dsdt_top.asl>
#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 <acpi/dsdt_top.asl>
#include <soc/intel/common/block/acpi/acpi/platform.asl>
// 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 <acpi/dsdt_top.asl>
#include <southbridge/intel/common/acpi/platform.asl>
#include <southbridge/intel/i82801gx/acpi/globalnvs.asl>
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 <acpi/dsdt_top.asl>
#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 <acpi/dsdt_top.asl>
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/common/acpi/platform.asl>
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 <acpi/dsdt_top.asl>
// global NVS and variables
#include <southbridge/intel/common/acpi/platform.asl>
#include <southbridge/intel/i82801gx/acpi/globalnvs.asl>
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 <acpi/dsdt_top.asl>
// global NVS and variables
#include <southbridge/intel/common/acpi/platform.asl>
#include <southbridge/intel/i82801jx/acpi/globalnvs.asl>
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 <acpi/dsdt_top.asl>
#include <soc/intel/common/block/acpi/acpi/platform.asl>
/* 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 <acpi/dsdt_top.asl>
#include <southbridge/intel/common/acpi/platform.asl>
#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 <acpi/dsdt_top.asl>
}
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 <acpi/dsdt_top.asl>
/* global NVS and variables */
#include <soc/intel/apollolake/acpi/globalnvs.asl>
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 <acpi/dsdt_top.asl>
#include <southbridge/intel/common/acpi/platform.asl>
#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 <acpi/dsdt_top.asl>
#include <soc/intel/common/block/acpi/acpi/platform.asl>
// 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 <acpi/dsdt_top.asl>
#include <soc/intel/common/block/acpi/acpi/platform.asl>
/* 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 <acpi/dsdt_top.asl>
#include <soc/intel/common/block/acpi/acpi/platform.asl>
// 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 <acpi/dsdt_top.asl>
#include <soc/intel/common/block/acpi/acpi/platform.asl>
// 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 <acpi/dsdt_top.asl>
/* global NVS and variables */
#include <soc/intel/apollolake/acpi/globalnvs.asl>
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 <acpi/dsdt_top.asl>
/* global NVS and variables */
#include <soc/intel/apollolake/acpi/globalnvs.asl>
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 <acpi/dsdt_top.asl>
#include <soc/intel/common/block/acpi/acpi/platform.asl>
// 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 <acpi/dsdt_top.asl>
}
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 <acpi/dsdt_top.asl>
#include <acpi/platform.asl>
/* 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 <acpi/dsdt_top.asl>
#include <soc/intel/common/block/acpi/acpi/platform.asl>
/* 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 <acpi/dsdt_top.asl>
#include <southbridge/intel/common/acpi/platform.asl>
#include "acpi/platform.asl"