From 299689c85fca99f71603ced38d48ee34bb327795 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Sat, 10 Oct 2020 19:41:19 +0530 Subject: [PATCH] mb/intel/latest mainboards: Get rid of power button device in coreboot Refer to commit d7b88dc (mb/google/x86-boards: Get rid of power button device in coreboot) This change gets rid of the generic hardware power button from all intel mainboards and relies completely on the fixed hardware power button. Change-Id: I8f9d73048041d42d809750fdb52092f40ab8f11f Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/46268 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Furquan Shaikh --- src/mainboard/intel/icelake_rvp/acpi/mainboard.asl | 11 ----------- src/mainboard/intel/icelake_rvp/dsdt.asl | 4 ---- src/mainboard/intel/jasperlake_rvp/acpi/mainboard.asl | 11 ----------- src/mainboard/intel/jasperlake_rvp/dsdt.asl | 4 ---- src/mainboard/intel/kblrvp/acpi/mainboard.asl | 11 ----------- src/mainboard/intel/kblrvp/dsdt.asl | 3 --- src/mainboard/intel/kunimitsu/acpi/mainboard.asl | 9 --------- src/mainboard/intel/kunimitsu/dsdt.asl | 3 --- src/mainboard/intel/tglrvp/acpi/mainboard.asl | 11 ----------- src/mainboard/intel/tglrvp/dsdt.asl | 3 --- 10 files changed, 70 deletions(-) delete mode 100644 src/mainboard/intel/icelake_rvp/acpi/mainboard.asl delete mode 100644 src/mainboard/intel/jasperlake_rvp/acpi/mainboard.asl delete mode 100644 src/mainboard/intel/kblrvp/acpi/mainboard.asl delete mode 100644 src/mainboard/intel/kunimitsu/acpi/mainboard.asl delete mode 100644 src/mainboard/intel/tglrvp/acpi/mainboard.asl diff --git a/src/mainboard/intel/icelake_rvp/acpi/mainboard.asl b/src/mainboard/intel/icelake_rvp/acpi/mainboard.asl deleted file mode 100644 index 4670015928..0000000000 --- a/src/mainboard/intel/icelake_rvp/acpi/mainboard.asl +++ /dev/null @@ -1,11 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#if CONFIG(EC_GOOGLE_CHROMEEC) -Scope (\_SB) -{ - Device (PWRB) - { - Name (_HID, EisaId ("PNP0C0C")) - } -} -#endif diff --git a/src/mainboard/intel/icelake_rvp/dsdt.asl b/src/mainboard/intel/icelake_rvp/dsdt.asl index 41a9c0ae52..861ccb13b2 100644 --- a/src/mainboard/intel/icelake_rvp/dsdt.asl +++ b/src/mainboard/intel/icelake_rvp/dsdt.asl @@ -46,8 +46,4 @@ DefinitionBlock( #endif #include - - // Mainboard specific - #include "acpi/mainboard.asl" - } diff --git a/src/mainboard/intel/jasperlake_rvp/acpi/mainboard.asl b/src/mainboard/intel/jasperlake_rvp/acpi/mainboard.asl deleted file mode 100644 index 4670015928..0000000000 --- a/src/mainboard/intel/jasperlake_rvp/acpi/mainboard.asl +++ /dev/null @@ -1,11 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#if CONFIG(EC_GOOGLE_CHROMEEC) -Scope (\_SB) -{ - Device (PWRB) - { - Name (_HID, EisaId ("PNP0C0C")) - } -} -#endif diff --git a/src/mainboard/intel/jasperlake_rvp/dsdt.asl b/src/mainboard/intel/jasperlake_rvp/dsdt.asl index ce781e277d..5da2c1221c 100644 --- a/src/mainboard/intel/jasperlake_rvp/dsdt.asl +++ b/src/mainboard/intel/jasperlake_rvp/dsdt.asl @@ -46,8 +46,4 @@ DefinitionBlock( #endif #include - - /* Mainboard specific */ - #include "acpi/mainboard.asl" - } diff --git a/src/mainboard/intel/kblrvp/acpi/mainboard.asl b/src/mainboard/intel/kblrvp/acpi/mainboard.asl deleted file mode 100644 index 4670015928..0000000000 --- a/src/mainboard/intel/kblrvp/acpi/mainboard.asl +++ /dev/null @@ -1,11 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#if CONFIG(EC_GOOGLE_CHROMEEC) -Scope (\_SB) -{ - Device (PWRB) - { - Name (_HID, EisaId ("PNP0C0C")) - } -} -#endif diff --git a/src/mainboard/intel/kblrvp/dsdt.asl b/src/mainboard/intel/kblrvp/dsdt.asl index 6eee06a9a1..256dda039a 100644 --- a/src/mainboard/intel/kblrvp/dsdt.asl +++ b/src/mainboard/intel/kblrvp/dsdt.asl @@ -41,7 +41,4 @@ DefinitionBlock( #endif #include - - // Mainboard specific - #include "acpi/mainboard.asl" } diff --git a/src/mainboard/intel/kunimitsu/acpi/mainboard.asl b/src/mainboard/intel/kunimitsu/acpi/mainboard.asl deleted file mode 100644 index d9fdd023f1..0000000000 --- a/src/mainboard/intel/kunimitsu/acpi/mainboard.asl +++ /dev/null @@ -1,9 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -Scope (\_SB) -{ - Device (PWRB) - { - Name (_HID, EisaId ("PNP0C0C")) - } -} diff --git a/src/mainboard/intel/kunimitsu/dsdt.asl b/src/mainboard/intel/kunimitsu/dsdt.asl index 71595773bd..17d4165256 100644 --- a/src/mainboard/intel/kunimitsu/dsdt.asl +++ b/src/mainboard/intel/kunimitsu/dsdt.asl @@ -33,7 +33,4 @@ DefinitionBlock( #include #include - - // Mainboard specific - #include "acpi/mainboard.asl" } diff --git a/src/mainboard/intel/tglrvp/acpi/mainboard.asl b/src/mainboard/intel/tglrvp/acpi/mainboard.asl deleted file mode 100644 index 4670015928..0000000000 --- a/src/mainboard/intel/tglrvp/acpi/mainboard.asl +++ /dev/null @@ -1,11 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#if CONFIG(EC_GOOGLE_CHROMEEC) -Scope (\_SB) -{ - Device (PWRB) - { - Name (_HID, EisaId ("PNP0C0C")) - } -} -#endif diff --git a/src/mainboard/intel/tglrvp/dsdt.asl b/src/mainboard/intel/tglrvp/dsdt.asl index 5cde1de7c8..5b76bd49ba 100644 --- a/src/mainboard/intel/tglrvp/dsdt.asl +++ b/src/mainboard/intel/tglrvp/dsdt.asl @@ -49,9 +49,6 @@ DefinitionBlock( #include - /* Mainboard specific */ - #include "acpi/mainboard.asl" - /* Camera */ #include "acpi/mipi_camera.asl" }