ec/starlabs/merlin: Only include lid switch ACPI when needed

Desktop devices don't need and shouldn't define a lid switch.

TEST=build/boot starlabs/byte,starlite_adl

Change-Id: Iecf3e2558e244cc0bec301a505c0bc86684954aa
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86322
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
This commit is contained in:
Matt DeVillier 2025-02-07 16:39:03 -06:00 committed by Sean Rhodes
commit 0c72983da2

View file

@ -112,11 +112,11 @@ Scope (\_SB.PCI0.LPCB)
#include "ac.asl"
#if CONFIG(SYSTEM_TYPE_LAPTOP) || CONFIG(SYSTEM_TYPE_DETACHABLE)
#include "battery.asl"
#include "lid.asl"
#endif
#if !CONFIG(EC_STARLABS_MERLIN)
#include "events.asl"
#endif
#include "lid.asl"
#if CONFIG(SYSTEM_TYPE_DETACHABLE)
#include "dock.asl"
#endif