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/gizmosphere | |
parent | bdd5031ad2bd70cff6de1f16237dc3f1507c7a64 (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/gizmosphere')
-rw-r--r-- | src/mainboard/gizmosphere/gizmo/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/gizmosphere/gizmo2/dsdt.asl | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/gizmosphere/gizmo/dsdt.asl b/src/mainboard/gizmosphere/gizmo/dsdt.asl index c5ad8c850f..cf04653b31 100644 --- a/src/mainboard/gizmosphere/gizmo/dsdt.asl +++ b/src/mainboard/gizmosphere/gizmo/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/gizmosphere/gizmo2/dsdt.asl b/src/mainboard/gizmosphere/gizmo2/dsdt.asl index 59677a7360..b739bb1cec 100644 --- a/src/mainboard/gizmosphere/gizmo2/dsdt.asl +++ b/src/mainboard/gizmosphere/gizmo2/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" |