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/google | |
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/google')
25 files changed, 25 insertions, 0 deletions
diff --git a/src/mainboard/google/auron/dsdt.asl b/src/mainboard/google/auron/dsdt.asl index 9da89ef439..747134f292 100644 --- a/src/mainboard/google/auron/dsdt.asl +++ b/src/mainboard/google/auron/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include <acpi/dsdt_top.asl> #include <soc/intel/broadwell/acpi/platform.asl> // Thermal handler diff --git a/src/mainboard/google/beltino/dsdt.asl b/src/mainboard/google/beltino/dsdt.asl index 45442db902..2156acff33 100644 --- a/src/mainboard/google/beltino/dsdt.asl +++ b/src/mainboard/google/beltino/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include <acpi/dsdt_top.asl> #include "acpi/platform.asl" // Thermal handler diff --git a/src/mainboard/google/brya/dsdt.asl b/src/mainboard/google/brya/dsdt.asl index fcdd1a8844..ea0bbf6c7b 100644 --- a/src/mainboard/google/brya/dsdt.asl +++ b/src/mainboard/google/brya/dsdt.asl @@ -12,6 +12,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include <acpi/dsdt_top.asl> /* Some generic macros */ #include <soc/intel/common/acpi/platform.asl> diff --git a/src/mainboard/google/butterfly/dsdt.asl b/src/mainboard/google/butterfly/dsdt.asl index 7bccd7f4b4..d3800096b7 100644 --- a/src/mainboard/google/butterfly/dsdt.asl +++ b/src/mainboard/google/butterfly/dsdt.asl @@ -10,6 +10,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/google/cyan/dsdt.asl b/src/mainboard/google/cyan/dsdt.asl index b751fa3eea..2652076241 100644 --- a/src/mainboard/google/cyan/dsdt.asl +++ b/src/mainboard/google/cyan/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20110725 /* OEM revision */ ) { + #include <acpi/dsdt_top.asl> #include <acpi/platform.asl> /* global NVS and variables */ diff --git a/src/mainboard/google/dedede/dsdt.asl b/src/mainboard/google/dedede/dsdt.asl index 39cc25e156..c437ecf509 100644 --- a/src/mainboard/google/dedede/dsdt.asl +++ b/src/mainboard/google/dedede/dsdt.asl @@ -13,6 +13,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/google/deltaur/dsdt.asl b/src/mainboard/google/deltaur/dsdt.asl index 1bca44f26f..b8d4c8a440 100644 --- a/src/mainboard/google/deltaur/dsdt.asl +++ b/src/mainboard/google/deltaur/dsdt.asl @@ -13,6 +13,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/google/drallion/dsdt.asl b/src/mainboard/google/drallion/dsdt.asl index 92fa2b8318..8d571bb1c5 100644 --- a/src/mainboard/google/drallion/dsdt.asl +++ b/src/mainboard/google/drallion/dsdt.asl @@ -12,6 +12,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/google/eve/dsdt.asl b/src/mainboard/google/eve/dsdt.asl index 0fface13f8..a5f7d5f15a 100644 --- a/src/mainboard/google/eve/dsdt.asl +++ b/src/mainboard/google/eve/dsdt.asl @@ -13,6 +13,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/google/fizz/dsdt.asl b/src/mainboard/google/fizz/dsdt.asl index 04c0d17a05..bbc37ac418 100644 --- a/src/mainboard/google/fizz/dsdt.asl +++ b/src/mainboard/google/fizz/dsdt.asl @@ -13,6 +13,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/google/glados/dsdt.asl b/src/mainboard/google/glados/dsdt.asl index 42332428e4..4b78de03a6 100644 --- a/src/mainboard/google/glados/dsdt.asl +++ b/src/mainboard/google/glados/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/google/hatch/dsdt.asl b/src/mainboard/google/hatch/dsdt.asl index d66844062f..b667e7e4e3 100644 --- a/src/mainboard/google/hatch/dsdt.asl +++ b/src/mainboard/google/hatch/dsdt.asl @@ -13,6 +13,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/google/jecht/dsdt.asl b/src/mainboard/google/jecht/dsdt.asl index 996c035319..88d312a463 100644 --- a/src/mainboard/google/jecht/dsdt.asl +++ b/src/mainboard/google/jecht/dsdt.asl @@ -10,6 +10,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/google/kahlee/dsdt.asl b/src/mainboard/google/kahlee/dsdt.asl index c3ffd5bc56..44195ce1ea 100644 --- a/src/mainboard/google/kahlee/dsdt.asl +++ b/src/mainboard/google/kahlee/dsdt.asl @@ -13,6 +13,7 @@ DefinitionBlock ( 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ + #include <acpi/dsdt_top.asl> /* global NVS and variables */ #include <globalnvs.asl> diff --git a/src/mainboard/google/link/dsdt.asl b/src/mainboard/google/link/dsdt.asl index 7bccd7f4b4..d3800096b7 100644 --- a/src/mainboard/google/link/dsdt.asl +++ b/src/mainboard/google/link/dsdt.asl @@ -10,6 +10,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/google/octopus/dsdt.asl b/src/mainboard/google/octopus/dsdt.asl index 513db663fe..629f806a1f 100644 --- a/src/mainboard/google/octopus/dsdt.asl +++ b/src/mainboard/google/octopus/dsdt.asl @@ -13,6 +13,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include <acpi/dsdt_top.asl> /* global NVS and variables */ #include <soc/intel/apollolake/acpi/globalnvs.asl> diff --git a/src/mainboard/google/parrot/dsdt.asl b/src/mainboard/google/parrot/dsdt.asl index 16f16dc0ea..fa39cac3fe 100644 --- a/src/mainboard/google/parrot/dsdt.asl +++ b/src/mainboard/google/parrot/dsdt.asl @@ -10,6 +10,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/google/poppy/dsdt.asl b/src/mainboard/google/poppy/dsdt.asl index 10e17d9b86..bde32ccd52 100644 --- a/src/mainboard/google/poppy/dsdt.asl +++ b/src/mainboard/google/poppy/dsdt.asl @@ -13,6 +13,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/google/rambi/dsdt.asl b/src/mainboard/google/rambi/dsdt.asl index 1a6a1b922e..3136571d4b 100644 --- a/src/mainboard/google/rambi/dsdt.asl +++ b/src/mainboard/google/rambi/dsdt.asl @@ -12,6 +12,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include <acpi/dsdt_top.asl> #include <soc/intel/baytrail/acpi/platform.asl> // global NVS and variables diff --git a/src/mainboard/google/reef/dsdt.asl b/src/mainboard/google/reef/dsdt.asl index ecd44f6c92..98cba0ca5a 100644 --- a/src/mainboard/google/reef/dsdt.asl +++ b/src/mainboard/google/reef/dsdt.asl @@ -13,6 +13,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include <acpi/dsdt_top.asl> /* global NVS and variables */ #include <soc/intel/apollolake/acpi/globalnvs.asl> diff --git a/src/mainboard/google/sarien/dsdt.asl b/src/mainboard/google/sarien/dsdt.asl index 664305eeef..e561af5c8d 100644 --- a/src/mainboard/google/sarien/dsdt.asl +++ b/src/mainboard/google/sarien/dsdt.asl @@ -12,6 +12,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/google/slippy/dsdt.asl b/src/mainboard/google/slippy/dsdt.asl index 8ca683dcb2..972c3823e3 100644 --- a/src/mainboard/google/slippy/dsdt.asl +++ b/src/mainboard/google/slippy/dsdt.asl @@ -10,6 +10,7 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + #include <acpi/dsdt_top.asl> #include "acpi/platform.asl" // Thermal handler diff --git a/src/mainboard/google/stout/dsdt.asl b/src/mainboard/google/stout/dsdt.asl index 5aef3604d7..fdb994e903 100644 --- a/src/mainboard/google/stout/dsdt.asl +++ b/src/mainboard/google/stout/dsdt.asl @@ -11,6 +11,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/google/volteer/dsdt.asl b/src/mainboard/google/volteer/dsdt.asl index ba9541ee5d..10064330f3 100644 --- a/src/mainboard/google/volteer/dsdt.asl +++ b/src/mainboard/google/volteer/dsdt.asl @@ -13,6 +13,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/google/zork/dsdt.asl b/src/mainboard/google/zork/dsdt.asl index a96d47c089..3ffbd2f3f7 100644 --- a/src/mainboard/google/zork/dsdt.asl +++ b/src/mainboard/google/zork/dsdt.asl @@ -14,6 +14,7 @@ DefinitionBlock ( 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ + #include <acpi/dsdt_top.asl> /* global NVS and variables */ #include <globalnvs.asl> |