summaryrefslogtreecommitdiff
path: root/src/mainboard/asus
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/asus
parentbdd5031ad2bd70cff6de1f16237dc3f1507c7a64 (diff)
downloadcoreboot-cf246d5166170ba78fcbe2a013135fb233fc9c39.tar.xz
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/asus')
-rw-r--r--src/mainboard/asus/a88xm-e/dsdt.asl1
-rw-r--r--src/mainboard/asus/am1i-a/dsdt.asl1
-rw-r--r--src/mainboard/asus/f2a85-m/dsdt.asl1
-rw-r--r--src/mainboard/asus/h61m-cs/dsdt.asl1
-rw-r--r--src/mainboard/asus/maximus_iv_gene-z/dsdt.asl1
-rw-r--r--src/mainboard/asus/p2b/dsdt.asl1
-rw-r--r--src/mainboard/asus/p5gc-mx/dsdt.asl1
-rw-r--r--src/mainboard/asus/p5qc/dsdt.asl1
-rw-r--r--src/mainboard/asus/p5ql-em/dsdt.asl1
-rw-r--r--src/mainboard/asus/p5qpl-am/dsdt.asl1
-rw-r--r--src/mainboard/asus/p8h61-m_lx/dsdt.asl1
-rw-r--r--src/mainboard/asus/p8h61-m_lx3_r2_0/dsdt.asl1
-rw-r--r--src/mainboard/asus/p8h61-m_pro/dsdt.asl1
-rw-r--r--src/mainboard/asus/p8z77-m_pro/dsdt.asl1
-rw-r--r--src/mainboard/asus/p8z77-v_lx2/dsdt.asl1
15 files changed, 15 insertions, 0 deletions
diff --git a/src/mainboard/asus/a88xm-e/dsdt.asl b/src/mainboard/asus/a88xm-e/dsdt.asl
index a72fa36df7..5b057a1cb2 100644
--- a/src/mainboard/asus/a88xm-e/dsdt.asl
+++ b/src/mainboard/asus/a88xm-e/dsdt.asl
@@ -11,6 +11,7 @@ DefinitionBlock (
0x00010001 /* OEM Revision */
)
{ /* Start of ASL file */
+ #include <acpi/dsdt_top.asl>
/* Globals for the platform */
#include "acpi/mainboard.asl"
diff --git a/src/mainboard/asus/am1i-a/dsdt.asl b/src/mainboard/asus/am1i-a/dsdt.asl
index d5e1e18128..8da27ede30 100644
--- a/src/mainboard/asus/am1i-a/dsdt.asl
+++ b/src/mainboard/asus/am1i-a/dsdt.asl
@@ -11,6 +11,7 @@ DefinitionBlock (
0x00010001 /* OEM Revision */
)
{ /* Start of ASL file */
+ #include <acpi/dsdt_top.asl>
/* Globals for the platform */
#include "acpi/mainboard.asl"
diff --git a/src/mainboard/asus/f2a85-m/dsdt.asl b/src/mainboard/asus/f2a85-m/dsdt.asl
index 7b52fb6cbe..7ab5f694a6 100644
--- a/src/mainboard/asus/f2a85-m/dsdt.asl
+++ b/src/mainboard/asus/f2a85-m/dsdt.asl
@@ -11,6 +11,7 @@ DefinitionBlock (
0x00010001 /* OEM Revision */
)
{ /* Start of ASL file */
+ #include <acpi/dsdt_top.asl>
/* Globals for the platform */
#include "acpi/mainboard.asl"
diff --git a/src/mainboard/asus/h61m-cs/dsdt.asl b/src/mainboard/asus/h61m-cs/dsdt.asl
index 38604c5583..d1f241dded 100644
--- a/src/mainboard/asus/h61m-cs/dsdt.asl
+++ b/src/mainboard/asus/h61m-cs/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/asus/maximus_iv_gene-z/dsdt.asl b/src/mainboard/asus/maximus_iv_gene-z/dsdt.asl
index ec3b9ea140..b1854cae3a 100644
--- a/src/mainboard/asus/maximus_iv_gene-z/dsdt.asl
+++ b/src/mainboard/asus/maximus_iv_gene-z/dsdt.asl
@@ -10,6 +10,7 @@ DefinitionBlock(
0x20171231 /* 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/asus/p2b/dsdt.asl b/src/mainboard/asus/p2b/dsdt.asl
index 006db8a02c..9e7951b4b5 100644
--- a/src/mainboard/asus/p2b/dsdt.asl
+++ b/src/mainboard/asus/p2b/dsdt.asl
@@ -19,6 +19,7 @@ DefinitionBlock (
1
)
{
+ #include <acpi/dsdt_top.asl>
/* \_SB scope defining the main processor is generated in SSDT. */
OperationRegion(X80, SystemIO, 0x80, 1)
diff --git a/src/mainboard/asus/p5gc-mx/dsdt.asl b/src/mainboard/asus/p5gc-mx/dsdt.asl
index 4e43cc47c3..32a7c29c3e 100644
--- a/src/mainboard/asus/p5gc-mx/dsdt.asl
+++ b/src/mainboard/asus/p5gc-mx/dsdt.asl
@@ -10,6 +10,7 @@ DefinitionBlock(
0x20090419 // OEM revision
)
{
+ #include <acpi/dsdt_top.asl>
// global NVS and variables
#include <southbridge/intel/i82801gx/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/platform.asl>
diff --git a/src/mainboard/asus/p5qc/dsdt.asl b/src/mainboard/asus/p5qc/dsdt.asl
index fa8820855e..ab44aaf65b 100644
--- a/src/mainboard/asus/p5qc/dsdt.asl
+++ b/src/mainboard/asus/p5qc/dsdt.asl
@@ -10,6 +10,7 @@ DefinitionBlock(
0x00000001 // 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/asus/p5ql-em/dsdt.asl b/src/mainboard/asus/p5ql-em/dsdt.asl
index e0290979af..4d49c79d9f 100644
--- a/src/mainboard/asus/p5ql-em/dsdt.asl
+++ b/src/mainboard/asus/p5ql-em/dsdt.asl
@@ -12,6 +12,7 @@ DefinitionBlock(
0x00000001 // 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/asus/p5qpl-am/dsdt.asl b/src/mainboard/asus/p5qpl-am/dsdt.asl
index 05a0534ea4..12c14f7a71 100644
--- a/src/mainboard/asus/p5qpl-am/dsdt.asl
+++ b/src/mainboard/asus/p5qpl-am/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/asus/p8h61-m_lx/dsdt.asl b/src/mainboard/asus/p8h61-m_lx/dsdt.asl
index ec3b9ea140..b1854cae3a 100644
--- a/src/mainboard/asus/p8h61-m_lx/dsdt.asl
+++ b/src/mainboard/asus/p8h61-m_lx/dsdt.asl
@@ -10,6 +10,7 @@ DefinitionBlock(
0x20171231 /* 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/asus/p8h61-m_lx3_r2_0/dsdt.asl b/src/mainboard/asus/p8h61-m_lx3_r2_0/dsdt.asl
index f83653051f..e8e2b3a3e5 100644
--- a/src/mainboard/asus/p8h61-m_lx3_r2_0/dsdt.asl
+++ b/src/mainboard/asus/p8h61-m_lx3_r2_0/dsdt.asl
@@ -11,6 +11,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/asus/p8h61-m_pro/dsdt.asl b/src/mainboard/asus/p8h61-m_pro/dsdt.asl
index 6a248b24dd..d1f0d029d9 100644
--- a/src/mainboard/asus/p8h61-m_pro/dsdt.asl
+++ b/src/mainboard/asus/p8h61-m_pro/dsdt.asl
@@ -10,6 +10,7 @@ DefinitionBlock(
0x20141018 // OEM revision
)
{
+ #include <acpi/dsdt_top.asl>
#include "acpi/platform.asl"
#include "acpi/superio.asl"
#include <cpu/intel/common/acpi/cpu.asl>
diff --git a/src/mainboard/asus/p8z77-m_pro/dsdt.asl b/src/mainboard/asus/p8z77-m_pro/dsdt.asl
index ba58cf2412..37de9661f8 100644
--- a/src/mainboard/asus/p8z77-m_pro/dsdt.asl
+++ b/src/mainboard/asus/p8z77-m_pro/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/asus/p8z77-v_lx2/dsdt.asl b/src/mainboard/asus/p8z77-v_lx2/dsdt.asl
index c49090e154..0477378081 100644
--- a/src/mainboard/asus/p8z77-v_lx2/dsdt.asl
+++ b/src/mainboard/asus/p8z77-v_lx2/dsdt.asl
@@ -11,6 +11,7 @@ DefinitionBlock(
0x20141018 /* OEM revision */
)
{
+ #include <acpi/dsdt_top.asl>
#include "acpi/platform.asl"
#include "acpi/superio.asl"
#include <cpu/intel/common/acpi/cpu.asl>