From 58f6a5d7445c0215358b429a0a3b8a8f18097e46 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Sun, 19 Dec 2021 21:22:15 +0000 Subject: starlabs: Convert EC_GPE_SCI to Kconfig Convert EC_GPI_SCI to Kconfig option with default value of 0x50 that is used by most boards. Signed-off-by: Sean Rhodes Change-Id: I8d47ebe76394fe1bcb217e0c6211db1566f82189 Reviewed-on: https://review.coreboot.org/c/coreboot/+/60229 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/ec/starlabs/merlin/Kconfig | 4 ++++ src/ec/starlabs/merlin/acpi/ec.asl | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/ec') diff --git a/src/ec/starlabs/merlin/Kconfig b/src/ec/starlabs/merlin/Kconfig index fe94b85963..67582ac4a7 100644 --- a/src/ec/starlabs/merlin/Kconfig +++ b/src/ec/starlabs/merlin/Kconfig @@ -55,3 +55,7 @@ config EC_STARLABS_MERLIN config EC_VARIANT_DIR string default "merlin" if EC_STARLABS_MERLIN + +config EC_GPE_SCI + hex + default 0x50 diff --git a/src/ec/starlabs/merlin/acpi/ec.asl b/src/ec/starlabs/merlin/acpi/ec.asl index 2c2b8d7f3a..c540c03d7a 100644 --- a/src/ec/starlabs/merlin/acpi/ec.asl +++ b/src/ec/starlabs/merlin/acpi/ec.asl @@ -10,7 +10,7 @@ Scope (\_SB.PCI0.LPCB) { Name (_HID, EisaId ("PNP0C09")) Name (_UID, 0x01) - Name (_GPE, EC_GPE_SCI) + Name (_GPE, CONFIG_EC_GPE_SCI) Name (ECAV, 0x00) Name (ECTK, 0x01) Name (B2ST, 0x00) -- cgit v1.2.3