From 218038428e52e907e4f032b25a1c0493e4d09879 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Wed, 3 Feb 2021 14:09:25 -0600 Subject: mb/purism/librem_mini: move mainboard asl under variant Upcoming librem_cnl variant(s) won't share mainboard asl. Change-Id: I9c2c43e5ae5efe161cc2135c920a1b9dee5a1317 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/50499 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/mainboard/purism/librem_cnl/acpi/mainboard.asl | 16 ---------------- src/mainboard/purism/librem_cnl/dsdt.asl | 2 +- .../librem_mini/include/variant/acpi/variant.asl | 16 ++++++++++++++++ 3 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 src/mainboard/purism/librem_cnl/acpi/mainboard.asl create mode 100644 src/mainboard/purism/librem_cnl/variants/librem_mini/include/variant/acpi/variant.asl (limited to 'src/mainboard/purism/librem_cnl') diff --git a/src/mainboard/purism/librem_cnl/acpi/mainboard.asl b/src/mainboard/purism/librem_cnl/acpi/mainboard.asl deleted file mode 100644 index 0c9a76b168..0000000000 --- a/src/mainboard/purism/librem_cnl/acpi/mainboard.asl +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -Scope (\_SB.PCI0.LPCB) -{ - Device (AC) - { - Name (_HID, "ACPI0003") - Name (_PCL, Package () { LPCB }) - Name (ACFG, One) - - Method (_PSR, 0, NotSerialized) - { - Return (ACFG) - } - } -} diff --git a/src/mainboard/purism/librem_cnl/dsdt.asl b/src/mainboard/purism/librem_cnl/dsdt.asl index df3f726dad..0669e923e8 100644 --- a/src/mainboard/purism/librem_cnl/dsdt.asl +++ b/src/mainboard/purism/librem_cnl/dsdt.asl @@ -23,5 +23,5 @@ DefinitionBlock( #include - #include "acpi/mainboard.asl" + #include } diff --git a/src/mainboard/purism/librem_cnl/variants/librem_mini/include/variant/acpi/variant.asl b/src/mainboard/purism/librem_cnl/variants/librem_mini/include/variant/acpi/variant.asl new file mode 100644 index 0000000000..0c9a76b168 --- /dev/null +++ b/src/mainboard/purism/librem_cnl/variants/librem_mini/include/variant/acpi/variant.asl @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +Scope (\_SB.PCI0.LPCB) +{ + Device (AC) + { + Name (_HID, "ACPI0003") + Name (_PCL, Package () { LPCB }) + Name (ACFG, One) + + Method (_PSR, 0, NotSerialized) + { + Return (ACFG) + } + } +} -- cgit v1.2.3