ec/roda/it8518/acpi: Don't hard-code GPE offset
The GPE offset of 16 is PCH specific. Built roda/rw11 with `BUILD_TIMELESS=1` and coreboot.rom remains the same. Change-Id: I4ec38fc28d2436f84a090bb4ab38f20612cfd795 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/56080 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
@@ -6,7 +6,7 @@ Device (EC0)
|
|||||||
{
|
{
|
||||||
Name (_HID, EISAID ("PNP0C09")) // ACPI Embedded Controller
|
Name (_HID, EISAID ("PNP0C09")) // ACPI Embedded Controller
|
||||||
Name (_UID, 1)
|
Name (_UID, 1)
|
||||||
Name (_GPE, Add(EC_SCI_GPI, 16)) // GPE for Runtime SCI
|
Name (_GPE, EC_SCI_GPI)
|
||||||
Name (PWRS, 1)
|
Name (PWRS, 1)
|
||||||
Name (LIDS, 1)
|
Name (LIDS, 1)
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
#define EC_SCI_GPI 7
|
#define EC_SCI_GPI (16 + 7)
|
||||||
#include <ec/roda/it8518/acpi/ec.asl>
|
#include <ec/roda/it8518/acpi/ec.asl>
|
||||||
|
Reference in New Issue
Block a user