From cf246d5166170ba78fcbe2a013135fb233fc9c39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Thu, 21 Jan 2021 08:17:00 +0200 Subject: ACPI: Add top-level ASL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/49794 Tested-by: build bot (Jenkins) Reviewed-by: Wim Vervoorn Reviewed-by: Patrick Rudolph Reviewed-by: Christian Walter Reviewed-by: Angel Pons --- src/mainboard/hp/abm/dsdt.asl | 1 + src/mainboard/hp/compaq_8200_elite_sff/dsdt.asl | 1 + src/mainboard/hp/folio_9480m/dsdt.asl | 1 + src/mainboard/hp/pavilion_m6_1035dx/dsdt.asl | 1 + src/mainboard/hp/snb_ivb_laptops/dsdt.asl | 1 + src/mainboard/hp/z220_sff_workstation/dsdt.asl | 1 + 6 files changed, 6 insertions(+) (limited to 'src/mainboard/hp') diff --git a/src/mainboard/hp/abm/dsdt.asl b/src/mainboard/hp/abm/dsdt.asl index 59677a7360..b739bb1cec 100644 --- a/src/mainboard/hp/abm/dsdt.asl +++ b/src/mainboard/hp/abm/dsdt.asl @@ -11,6 +11,7 @@ DefinitionBlock ( 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ + #include /* Globals for the platform */ #include "acpi/mainboard.asl" diff --git a/src/mainboard/hp/compaq_8200_elite_sff/dsdt.asl b/src/mainboard/hp/compaq_8200_elite_sff/dsdt.asl index abbb01c7df..fd97836564 100644 --- a/src/mainboard/hp/compaq_8200_elite_sff/dsdt.asl +++ b/src/mainboard/hp/compaq_8200_elite_sff/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20141018 // OEM revision ) { + #include #include "acpi/platform.asl" #include #include diff --git a/src/mainboard/hp/folio_9480m/dsdt.asl b/src/mainboard/hp/folio_9480m/dsdt.asl index b5343726ff..ef41b3770c 100644 --- a/src/mainboard/hp/folio_9480m/dsdt.asl +++ b/src/mainboard/hp/folio_9480m/dsdt.asl @@ -11,6 +11,7 @@ DefinitionBlock( 0x20141018 /* OEM revision */ ) { + #include #include "acpi/platform.asl" #include #include diff --git a/src/mainboard/hp/pavilion_m6_1035dx/dsdt.asl b/src/mainboard/hp/pavilion_m6_1035dx/dsdt.asl index da03899e09..785b7720c1 100644 --- a/src/mainboard/hp/pavilion_m6_1035dx/dsdt.asl +++ b/src/mainboard/hp/pavilion_m6_1035dx/dsdt.asl @@ -13,6 +13,7 @@ DefinitionBlock ( 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ + #include /* Globals for the platform */ #include "acpi/mainboard.asl" diff --git a/src/mainboard/hp/snb_ivb_laptops/dsdt.asl b/src/mainboard/hp/snb_ivb_laptops/dsdt.asl index abbb01c7df..fd97836564 100644 --- a/src/mainboard/hp/snb_ivb_laptops/dsdt.asl +++ b/src/mainboard/hp/snb_ivb_laptops/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20141018 // OEM revision ) { + #include #include "acpi/platform.asl" #include #include diff --git a/src/mainboard/hp/z220_sff_workstation/dsdt.asl b/src/mainboard/hp/z220_sff_workstation/dsdt.asl index abbb01c7df..fd97836564 100644 --- a/src/mainboard/hp/z220_sff_workstation/dsdt.asl +++ b/src/mainboard/hp/z220_sff_workstation/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20141018 // OEM revision ) { + #include #include "acpi/platform.asl" #include #include -- cgit v1.2.3