summaryrefslogtreecommitdiff
path: root/src/mainboard/gigabyte
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/gigabyte
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/gigabyte')
-rw-r--r--src/mainboard/gigabyte/ga-945gcm-s2l/dsdt.asl1
-rw-r--r--src/mainboard/gigabyte/ga-b75m-d3h/dsdt.asl1
-rw-r--r--src/mainboard/gigabyte/ga-g41m-es2l/dsdt.asl1
-rw-r--r--src/mainboard/gigabyte/ga-h61m-series/dsdt.asl1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/gigabyte/ga-945gcm-s2l/dsdt.asl b/src/mainboard/gigabyte/ga-945gcm-s2l/dsdt.asl
index 80c5ff44c6..c2aa8497cc 100644
--- a/src/mainboard/gigabyte/ga-945gcm-s2l/dsdt.asl
+++ b/src/mainboard/gigabyte/ga-945gcm-s2l/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/gigabyte/ga-b75m-d3h/dsdt.asl b/src/mainboard/gigabyte/ga-b75m-d3h/dsdt.asl
index 7a965176e7..b70b338fa8 100644
--- a/src/mainboard/gigabyte/ga-b75m-d3h/dsdt.asl
+++ b/src/mainboard/gigabyte/ga-b75m-d3h/dsdt.asl
@@ -10,6 +10,7 @@ DefinitionBlock(
0x20141018 // OEM revision
)
{
+ #include <acpi/dsdt_top.asl>
#include <southbridge/intel/common/acpi/platform.asl>
#include "acpi/mainboard.asl"
diff --git a/src/mainboard/gigabyte/ga-g41m-es2l/dsdt.asl b/src/mainboard/gigabyte/ga-g41m-es2l/dsdt.asl
index 05a0534ea4..12c14f7a71 100644
--- a/src/mainboard/gigabyte/ga-g41m-es2l/dsdt.asl
+++ b/src/mainboard/gigabyte/ga-g41m-es2l/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/gigabyte/ga-h61m-series/dsdt.asl b/src/mainboard/gigabyte/ga-h61m-series/dsdt.asl
index 40f5faf465..5903648001 100644
--- a/src/mainboard/gigabyte/ga-h61m-series/dsdt.asl
+++ b/src/mainboard/gigabyte/ga-h61m-series/dsdt.asl
@@ -11,6 +11,7 @@ DefinitionBlock(
0x20141018 // OEM revision
)
{
+ #include <acpi/dsdt_top.asl>
#include "acpi/mainboard.asl"
#include "acpi/platform.asl"
#include "acpi/superio.asl"