From 65278f5cae80a2ae62c14c7d62e17ad74189e554 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Fri, 20 Dec 2024 13:05:29 +0000 Subject: [PATCH] ec/starlabs/merlin: Only include battery ACPI for systems with a battery Change-Id: I381714887f4319d8e1a25c1e493ba03631cbf082 Signed-off-by: Sean Rhodes Reviewed-on: https://review.coreboot.org/c/coreboot/+/85716 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier --- src/ec/starlabs/merlin/acpi/ec.asl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ec/starlabs/merlin/acpi/ec.asl b/src/ec/starlabs/merlin/acpi/ec.asl index 2fc1248005..8fa16c5d05 100644 --- a/src/ec/starlabs/merlin/acpi/ec.asl +++ b/src/ec/starlabs/merlin/acpi/ec.asl @@ -134,7 +134,9 @@ Scope (\_SB.PCI0.LPCB) } #include "ac.asl" +#if CONFIG(SYSTEM_TYPE_LAPTOP) || CONFIG(SYSTEM_TYPE_DETACHABLE) #include "battery.asl" +#endif #if !CONFIG(EC_STARLABS_MERLIN) #include "events.asl" #endif