diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-01-21 08:17:00 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-01-27 15:35:13 +0000 |
commit | cf246d5166170ba78fcbe2a013135fb233fc9c39 (patch) | |
tree | 27f4643aeb4ab5f9302360ecfb1d8bcb3a04a09d /src/mainboard/asrock | |
parent | bdd5031ad2bd70cff6de1f16237dc3f1507c7a64 (diff) | |
download | coreboot-cf246d5166170ba78fcbe2a013135fb233fc9c39.tar.gz coreboot-cf246d5166170ba78fcbe2a013135fb233fc9c39.tar.bz2 coreboot-cf246d5166170ba78fcbe2a013135fb233fc9c39.zip |
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/asrock')
-rw-r--r-- | src/mainboard/asrock/b75pro3-m/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/asrock/b85m_pro4/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/asrock/e350m1/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/asrock/g41c-gs/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/asrock/h110m/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/asrock/h81m-hds/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/asrock/imb-a180/dsdt.asl | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/asrock/b75pro3-m/dsdt.asl b/src/mainboard/asrock/b75pro3-m/dsdt.asl index 2f919170ad7c..0dd5e8f42a8e 100644 --- a/src/mainboard/asrock/b75pro3-m/dsdt.asl +++ b/src/mainboard/asrock/b75pro3-m/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/asrock/b85m_pro4/dsdt.asl b/src/mainboard/asrock/b85m_pro4/dsdt.asl index bba5c2e593fb..3a4260454df0 100644 --- a/src/mainboard/asrock/b85m_pro4/dsdt.asl +++ b/src/mainboard/asrock/b85m_pro4/dsdt.asl @@ -11,6 +11,7 @@ DefinitionBlock( 0x20141018 /* OEM revision */ ) { + #include <acpi/dsdt_top.asl> #include "acpi/platform.asl" #include "acpi/superio.asl" #include <southbridge/intel/common/acpi/platform.asl> diff --git a/src/mainboard/asrock/e350m1/dsdt.asl b/src/mainboard/asrock/e350m1/dsdt.asl index 27f9de0f6ac4..b6bb94a253d5 100644 --- a/src/mainboard/asrock/e350m1/dsdt.asl +++ b/src/mainboard/asrock/e350m1/dsdt.asl @@ -11,6 +11,7 @@ DefinitionBlock ( 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ + #include <acpi/dsdt_top.asl> #include "acpi/mainboard.asl" diff --git a/src/mainboard/asrock/g41c-gs/dsdt.asl b/src/mainboard/asrock/g41c-gs/dsdt.asl index 05a0534ea493..12c14f7a7121 100644 --- a/src/mainboard/asrock/g41c-gs/dsdt.asl +++ b/src/mainboard/asrock/g41c-gs/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/asrock/h110m/dsdt.asl b/src/mainboard/asrock/h110m/dsdt.asl index 3820b945b1e2..22571573f854 100644 --- a/src/mainboard/asrock/h110m/dsdt.asl +++ b/src/mainboard/asrock/h110m/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/asrock/h81m-hds/dsdt.asl b/src/mainboard/asrock/h81m-hds/dsdt.asl index d3e7ba17d0b9..5a56825a5969 100644 --- a/src/mainboard/asrock/h81m-hds/dsdt.asl +++ b/src/mainboard/asrock/h81m-hds/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20181031 /* OEM Revision */ ) { + #include <acpi/dsdt_top.asl> #include "acpi/platform.asl" #include <southbridge/intel/common/acpi/platform.asl> #include <southbridge/intel/lynxpoint/acpi/globalnvs.asl> diff --git a/src/mainboard/asrock/imb-a180/dsdt.asl b/src/mainboard/asrock/imb-a180/dsdt.asl index 59677a7360ca..b739bb1cecfa 100644 --- a/src/mainboard/asrock/imb-a180/dsdt.asl +++ b/src/mainboard/asrock/imb-a180/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" |