summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-09-22 22:43:28 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-09-27 13:25:04 +0000
commite87b2a2d3dc8aa3a10daa1f3d3cf0bc19e3aa158 (patch)
tree09aa7fd0404f1511a6647ad964dc2b8183355296
parent75ff7859cb31035f1017317998464215efa27682 (diff)
mb/razor/blade_stealth_kbl: 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: I375ab879dd95d6a7a20644dc36312a1e62f58226 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57854 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/mainboard/razer/blade_stealth_kbl/dsdt.asl22
1 files changed, 6 insertions, 16 deletions
diff --git a/src/mainboard/razer/blade_stealth_kbl/dsdt.asl b/src/mainboard/razer/blade_stealth_kbl/dsdt.asl
index 0b2888c828..5fd3569546 100644
--- a/src/mainboard/razer/blade_stealth_kbl/dsdt.asl
+++ b/src/mainboard/razer/blade_stealth_kbl/dsdt.asl
@@ -12,26 +12,16 @@ DefinitionBlock(
)
{
#include <acpi/dsdt_top.asl>
-
- //Platform
+ #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>
- }
-
+ Device (\_SB.PCI0)
+ {
+ #include <soc/intel/skylake/acpi/systemagent.asl>
+ #include <soc/intel/skylake/acpi/pch.asl>
}
- #include <southbridge/intel/common/acpi/sleepstates.asl>
-
#include "acpi/mainboard.asl"
}