summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-09-22 22:14:51 +0200
committerFelix Singer <felixsinger@posteo.net>2021-09-28 20:44:33 +0000
commit9af3de12f6fafa6c0ea67bed33952fc9b43c2bcc (patch)
treee6700ade588d728a2e02d6a5e123f97babb37059
parent836a7f92d279897d1b286590d11c95ebf316ef14 (diff)
mb/purism/librem_skl: Clean up dsdt.asl
Move includes using library paths to the top and remove unnecessary comments. Also, get rid of that unnecessary _SB scope. Use an absolute path for the PCI0 device instead. Change-Id: I2c4fb1933eda2eb75bfe9181f13e189ec66cadf9 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57849 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
-rw-r--r--src/mainboard/purism/librem_skl/dsdt.asl23
1 files changed, 7 insertions, 16 deletions
diff --git a/src/mainboard/purism/librem_skl/dsdt.asl b/src/mainboard/purism/librem_skl/dsdt.asl
index f9343a833f..43c8e7f26b 100644
--- a/src/mainboard/purism/librem_skl/dsdt.asl
+++ b/src/mainboard/purism/librem_skl/dsdt.asl
@@ -11,26 +11,17 @@ DefinitionBlock(
)
{
#include <acpi/dsdt_top.asl>
+ #include <cpu/intel/common/acpi/cpu.asl>
#include <soc/intel/common/block/acpi/acpi/platform.asl>
-
- // global NVS and variables
#include <soc/intel/skylake/acpi/globalnvs.asl>
+ #include <southbridge/intel/common/acpi/sleepstates.asl>
- // CPU
- #include <cpu/intel/common/acpi/cpu.asl>
-
- Scope (\_SB) {
- Device (PCI0)
- {
- #include <soc/intel/skylake/acpi/systemagent.asl>
- #include <soc/intel/skylake/acpi/pch.asl>
- #include <drivers/intel/gma/acpi/default_brightness_levels.asl>
- }
-
+ Device (\_SB.PCI0)
+ {
+ #include <soc/intel/skylake/acpi/systemagent.asl>
+ #include <soc/intel/skylake/acpi/pch.asl>
+ #include <drivers/intel/gma/acpi/default_brightness_levels.asl>
}
- #include <southbridge/intel/common/acpi/sleepstates.asl>
-
- // Mainboard specific
#include "acpi/mainboard.asl"
}