summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/clevo/cml-u/Kconfig1
-rw-r--r--src/mainboard/clevo/cml-u/acpi/gpe.asl11
-rw-r--r--src/mainboard/clevo/cml-u/acpi/mainboard.asl13
-rw-r--r--src/mainboard/clevo/cml-u/acpi/sleep.asl11
-rw-r--r--src/mainboard/clevo/cml-u/dsdt.asl2
-rw-r--r--src/mainboard/clevo/cml-u/variants/l140cu/devicetree.cb7
6 files changed, 0 insertions, 45 deletions
diff --git a/src/mainboard/clevo/cml-u/Kconfig b/src/mainboard/clevo/cml-u/Kconfig
index f557e6e7d7..bd895e2e81 100644
--- a/src/mainboard/clevo/cml-u/Kconfig
+++ b/src/mainboard/clevo/cml-u/Kconfig
@@ -20,7 +20,6 @@ config BOARD_CLEVO_CMLU_COMMON
config BOARD_CLEVO_L140CU_BASE
bool
select BOARD_CLEVO_CMLU_COMMON
- select EC_SYSTEM76_EC
select HAVE_SPD_IN_CBFS
if BOARD_CLEVO_CMLU_COMMON
diff --git a/src/mainboard/clevo/cml-u/acpi/gpe.asl b/src/mainboard/clevo/cml-u/acpi/gpe.asl
deleted file mode 100644
index c1bc04dc9a..0000000000
--- a/src/mainboard/clevo/cml-u/acpi/gpe.asl
+++ /dev/null
@@ -1,11 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-// GPP_D9 SCI
-Method (_L29, 0, Serialized) {
- Debug = Concatenate("GPE _L29: ", ToHexString(\_SB.PCI0.LPCB.EC0.WFNO))
- If (\_SB.PCI0.LPCB.EC0.ECOK) {
- If (\_SB.PCI0.LPCB.EC0.WFNO == One) {
- Notify(\_SB.LID0, 0x80)
- }
- }
-}
diff --git a/src/mainboard/clevo/cml-u/acpi/mainboard.asl b/src/mainboard/clevo/cml-u/acpi/mainboard.asl
deleted file mode 100644
index 416cc5a151..0000000000
--- a/src/mainboard/clevo/cml-u/acpi/mainboard.asl
+++ /dev/null
@@ -1,13 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#define EC_GPE_SCI 0x50 /* GPP_E16 */
-#define EC_GPE_SWI 0x29 /* GPP_D9 */
-#include <ec/system76/ec/acpi/ec.asl>
-
-Scope (\_SB) {
- #include "sleep.asl"
-}
-
-Scope (\_GPE) {
- #include "gpe.asl"
-}
diff --git a/src/mainboard/clevo/cml-u/acpi/sleep.asl b/src/mainboard/clevo/cml-u/acpi/sleep.asl
deleted file mode 100644
index 48c50e075e..0000000000
--- a/src/mainboard/clevo/cml-u/acpi/sleep.asl
+++ /dev/null
@@ -1,11 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-/* Method called from _PTS prior to enter sleep state */
-Method (MPTS, 1) {
- \_SB.PCI0.LPCB.EC0.PTS (Arg0)
-}
-
-/* Method called from _WAK prior to wakeup */
-Method (MWAK, 1) {
- \_SB.PCI0.LPCB.EC0.WAK (Arg0)
-}
diff --git a/src/mainboard/clevo/cml-u/dsdt.asl b/src/mainboard/clevo/cml-u/dsdt.asl
index 203f39e702..e7963b2858 100644
--- a/src/mainboard/clevo/cml-u/dsdt.asl
+++ b/src/mainboard/clevo/cml-u/dsdt.asl
@@ -28,6 +28,4 @@ DefinitionBlock(
{
#include <drivers/pc80/pc/ps2_controller.asl>
}
-
- #include "acpi/mainboard.asl"
}
diff --git a/src/mainboard/clevo/cml-u/variants/l140cu/devicetree.cb b/src/mainboard/clevo/cml-u/variants/l140cu/devicetree.cb
index bfcc046157..7385fe19c6 100644
--- a/src/mainboard/clevo/cml-u/variants/l140cu/devicetree.cb
+++ b/src/mainboard/clevo/cml-u/variants/l140cu/devicetree.cb
@@ -183,13 +183,6 @@ chip soc/intel/cannonlake
device pci 1e.2 off end # GSPI #0
device pci 1e.3 off end # GSPI #1
device pci 1f.0 on # LPC Interface
- # LPC configuration from lspci -s 1f.0 -xxx
- # Address 0x88: Decode 0x68 - 0x6F (EC PM channel)
- register "gen1_dec" = "0x00040069"
- # Address 0x8C: Decode 0xE00 - 0xEFF (AP/EC command)
- register "gen2_dec" = "0x00fc0e01"
- # Address 0x90: Decode 0xF00 - 0xFFF (AP/EC debug)
- register "gen3_dec" = "0x00fc0f01"
chip drivers/pc80/tpm # TPM
device pnp 0c31.0 on end
end