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/lenovo | |
parent | bdd5031ad2bd70cff6de1f16237dc3f1507c7a64 (diff) | |
download | coreboot-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/lenovo')
-rw-r--r-- | src/mainboard/lenovo/g505s/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/l520/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/s230u/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/t400/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/t410/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/t420/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/t420s/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/t430/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/t430s/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/t440p/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/t520/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/t530/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/t60/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/thinkcentre_a58/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/x131e/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/x1_carbon_gen1/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/x200/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/x201/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/x220/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/x230/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/x60/dsdt.asl | 1 |
21 files changed, 21 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/g505s/dsdt.asl b/src/mainboard/lenovo/g505s/dsdt.asl index 57b535afc5..50c59333fd 100644 --- a/src/mainboard/lenovo/g505s/dsdt.asl +++ b/src/mainboard/lenovo/g505s/dsdt.asl @@ -13,6 +13,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/lenovo/l520/dsdt.asl b/src/mainboard/lenovo/l520/dsdt.asl index b0f258ec4d..06cffcf8a2 100644 --- a/src/mainboard/lenovo/l520/dsdt.asl +++ b/src/mainboard/lenovo/l520/dsdt.asl @@ -15,6 +15,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/lenovo/s230u/dsdt.asl b/src/mainboard/lenovo/s230u/dsdt.asl index fb51412bd8..861309b8e9 100644 --- a/src/mainboard/lenovo/s230u/dsdt.asl +++ b/src/mainboard/lenovo/s230u/dsdt.asl @@ -15,6 +15,7 @@ DefinitionBlock( 0x20141018 // OEM revision ) { + #include <acpi/dsdt_top.asl> #include "acpi/platform.asl" #include "acpi/gpe.asl" #include <cpu/intel/common/acpi/cpu.asl> diff --git a/src/mainboard/lenovo/t400/dsdt.asl b/src/mainboard/lenovo/t400/dsdt.asl index 3967a90536..f9c682f9dc 100644 --- a/src/mainboard/lenovo/t400/dsdt.asl +++ b/src/mainboard/lenovo/t400/dsdt.asl @@ -15,6 +15,7 @@ DefinitionBlock( 0x20090419 // OEM revision ) { + #include <acpi/dsdt_top.asl> #include "acpi/platform.asl" // global NVS and variables diff --git a/src/mainboard/lenovo/t410/dsdt.asl b/src/mainboard/lenovo/t410/dsdt.asl index 40a57cb578..63c91527d9 100644 --- a/src/mainboard/lenovo/t410/dsdt.asl +++ b/src/mainboard/lenovo/t410/dsdt.asl @@ -15,6 +15,7 @@ DefinitionBlock( 0x20130325 /* OEM revision */ ) { + #include <acpi/dsdt_top.asl> #include <southbridge/intel/common/acpi/platform.asl> #include "acpi/platform.asl" diff --git a/src/mainboard/lenovo/t420/dsdt.asl b/src/mainboard/lenovo/t420/dsdt.asl index 79bbd11d83..33b6f80b17 100644 --- a/src/mainboard/lenovo/t420/dsdt.asl +++ b/src/mainboard/lenovo/t420/dsdt.asl @@ -15,6 +15,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include <acpi/dsdt_top.asl> #include <southbridge/intel/common/acpi/platform.asl> #include "acpi/platform.asl" diff --git a/src/mainboard/lenovo/t420s/dsdt.asl b/src/mainboard/lenovo/t420s/dsdt.asl index 79bbd11d83..33b6f80b17 100644 --- a/src/mainboard/lenovo/t420s/dsdt.asl +++ b/src/mainboard/lenovo/t420s/dsdt.asl @@ -15,6 +15,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include <acpi/dsdt_top.asl> #include <southbridge/intel/common/acpi/platform.asl> #include "acpi/platform.asl" diff --git a/src/mainboard/lenovo/t430/dsdt.asl b/src/mainboard/lenovo/t430/dsdt.asl index 0287cd9027..c19e75ee82 100644 --- a/src/mainboard/lenovo/t430/dsdt.asl +++ b/src/mainboard/lenovo/t430/dsdt.asl @@ -15,6 +15,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/lenovo/t430s/dsdt.asl b/src/mainboard/lenovo/t430s/dsdt.asl index 79bbd11d83..33b6f80b17 100644 --- a/src/mainboard/lenovo/t430s/dsdt.asl +++ b/src/mainboard/lenovo/t430s/dsdt.asl @@ -15,6 +15,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include <acpi/dsdt_top.asl> #include <southbridge/intel/common/acpi/platform.asl> #include "acpi/platform.asl" diff --git a/src/mainboard/lenovo/t440p/dsdt.asl b/src/mainboard/lenovo/t440p/dsdt.asl index 9a54673ec8..e3b5070363 100644 --- a/src/mainboard/lenovo/t440p/dsdt.asl +++ b/src/mainboard/lenovo/t440p/dsdt.asl @@ -15,6 +15,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/lenovo/t520/dsdt.asl b/src/mainboard/lenovo/t520/dsdt.asl index 79bbd11d83..33b6f80b17 100644 --- a/src/mainboard/lenovo/t520/dsdt.asl +++ b/src/mainboard/lenovo/t520/dsdt.asl @@ -15,6 +15,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include <acpi/dsdt_top.asl> #include <southbridge/intel/common/acpi/platform.asl> #include "acpi/platform.asl" diff --git a/src/mainboard/lenovo/t530/dsdt.asl b/src/mainboard/lenovo/t530/dsdt.asl index 79bbd11d83..33b6f80b17 100644 --- a/src/mainboard/lenovo/t530/dsdt.asl +++ b/src/mainboard/lenovo/t530/dsdt.asl @@ -15,6 +15,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include <acpi/dsdt_top.asl> #include <southbridge/intel/common/acpi/platform.asl> #include "acpi/platform.asl" diff --git a/src/mainboard/lenovo/t60/dsdt.asl b/src/mainboard/lenovo/t60/dsdt.asl index 7875dc6374..5847580d18 100644 --- a/src/mainboard/lenovo/t60/dsdt.asl +++ b/src/mainboard/lenovo/t60/dsdt.asl @@ -14,6 +14,7 @@ DefinitionBlock( 0x20090419 // OEM revision ) { + #include <acpi/dsdt_top.asl> #include "acpi/platform.asl" // global NVS and variables diff --git a/src/mainboard/lenovo/thinkcentre_a58/dsdt.asl b/src/mainboard/lenovo/thinkcentre_a58/dsdt.asl index 05a0534ea4..12c14f7a71 100644 --- a/src/mainboard/lenovo/thinkcentre_a58/dsdt.asl +++ b/src/mainboard/lenovo/thinkcentre_a58/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/lenovo/x131e/dsdt.asl b/src/mainboard/lenovo/x131e/dsdt.asl index 10dc4ceb0c..34391416f3 100644 --- a/src/mainboard/lenovo/x131e/dsdt.asl +++ b/src/mainboard/lenovo/x131e/dsdt.asl @@ -15,6 +15,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/lenovo/x1_carbon_gen1/dsdt.asl b/src/mainboard/lenovo/x1_carbon_gen1/dsdt.asl index a798424146..6838b5e9a6 100644 --- a/src/mainboard/lenovo/x1_carbon_gen1/dsdt.asl +++ b/src/mainboard/lenovo/x1_carbon_gen1/dsdt.asl @@ -16,6 +16,7 @@ DefinitionBlock( 0x20141018 // OEM revision ) { + #include <acpi/dsdt_top.asl> #include <southbridge/intel/common/acpi/platform.asl> #include "acpi/platform.asl" diff --git a/src/mainboard/lenovo/x200/dsdt.asl b/src/mainboard/lenovo/x200/dsdt.asl index c05f138c89..00a20c201b 100644 --- a/src/mainboard/lenovo/x200/dsdt.asl +++ b/src/mainboard/lenovo/x200/dsdt.asl @@ -14,6 +14,7 @@ DefinitionBlock( 0x20090419 // OEM revision ) { + #include <acpi/dsdt_top.asl> #include "acpi/platform.asl" // global NVS and variables diff --git a/src/mainboard/lenovo/x201/dsdt.asl b/src/mainboard/lenovo/x201/dsdt.asl index 40a57cb578..63c91527d9 100644 --- a/src/mainboard/lenovo/x201/dsdt.asl +++ b/src/mainboard/lenovo/x201/dsdt.asl @@ -15,6 +15,7 @@ DefinitionBlock( 0x20130325 /* OEM revision */ ) { + #include <acpi/dsdt_top.asl> #include <southbridge/intel/common/acpi/platform.asl> #include "acpi/platform.asl" diff --git a/src/mainboard/lenovo/x220/dsdt.asl b/src/mainboard/lenovo/x220/dsdt.asl index 79bbd11d83..33b6f80b17 100644 --- a/src/mainboard/lenovo/x220/dsdt.asl +++ b/src/mainboard/lenovo/x220/dsdt.asl @@ -15,6 +15,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include <acpi/dsdt_top.asl> #include <southbridge/intel/common/acpi/platform.asl> #include "acpi/platform.asl" diff --git a/src/mainboard/lenovo/x230/dsdt.asl b/src/mainboard/lenovo/x230/dsdt.asl index 79bbd11d83..33b6f80b17 100644 --- a/src/mainboard/lenovo/x230/dsdt.asl +++ b/src/mainboard/lenovo/x230/dsdt.asl @@ -15,6 +15,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include <acpi/dsdt_top.asl> #include <southbridge/intel/common/acpi/platform.asl> #include "acpi/platform.asl" diff --git a/src/mainboard/lenovo/x60/dsdt.asl b/src/mainboard/lenovo/x60/dsdt.asl index 4d6f0840bb..827f0c643d 100644 --- a/src/mainboard/lenovo/x60/dsdt.asl +++ b/src/mainboard/lenovo/x60/dsdt.asl @@ -14,6 +14,7 @@ DefinitionBlock( 0x20090419 // OEM revision ) { + #include <acpi/dsdt_top.asl> #include "acpi/platform.asl" // global NVS and variables |