From a46dd5cd4bc595c1ccceb8558b445ada74058380 Mon Sep 17 00:00:00 2001 From: Nicholas Sudsgaard Date: Mon, 11 Mar 2024 21:49:38 +0900 Subject: ec/hp/kbc1126/acpi: Drop unnecessary _STA methods _STA unconditionally returning 0xF is pretty much the default[1] and should be removed to reduce some noise. [1] https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/06_Device_Configuration/Device_Configuration.html#sta-device-status Change-Id: I0390767aa866e322c762038c12116a15b280af1a Signed-off-by: Nicholas Sudsgaard Reviewed-on: https://review.coreboot.org/c/coreboot/+/81206 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/ec/hp/kbc1126/acpi/ac.asl | 5 ----- src/ec/hp/kbc1126/acpi/ec.asl | 5 ----- 2 files changed, 10 deletions(-) (limited to 'src/ec/hp/kbc1126') diff --git a/src/ec/hp/kbc1126/acpi/ac.asl b/src/ec/hp/kbc1126/acpi/ac.asl index 59681cf33a..97430455a0 100644 --- a/src/ec/hp/kbc1126/acpi/ac.asl +++ b/src/ec/hp/kbc1126/acpi/ac.asl @@ -47,11 +47,6 @@ Device (AC) Name (_HID, "ACPI0003") Name (_PCL, Package () { \_SB }) - Method (_STA) - { - Return (0x0F) - } - Method (_PSR) { Local0 = GACS () diff --git a/src/ec/hp/kbc1126/acpi/ec.asl b/src/ec/hp/kbc1126/acpi/ec.asl index afe0a70a40..ef68cc4de9 100644 --- a/src/ec/hp/kbc1126/acpi/ec.asl +++ b/src/ec/hp/kbc1126/acpi/ec.asl @@ -12,11 +12,6 @@ Device (EC0) IO (Decode16, 0x66, 0x66, 1, 1) }) - Method (_STA) - { - Return (0x0F) - } - OperationRegion (ECRM, EmbeddedControl, 0x00, 0xFF) Field (ECRM, ByteAcc, NoLock, Preserve) { -- cgit v1.2.3