diff options
author | Iru Cai <mytbk920423@gmail.com> | 2020-09-16 21:12:00 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-11-02 06:08:54 +0000 |
commit | a568d605e9d211be561f200fd94dc2a26ce5209c (patch) | |
tree | 366235fe935fbfa3d76466e34a3f35a7bb015bc8 /src/ec | |
parent | b57f22fc5b79bcd21b8976cd4e7b368cb9b0c50c (diff) |
ec/hp/kbc1126: Support using a different GPE
HP EliteBook Folio 9480m uses the HP KBC1126 EC ACPI interface, but
with a different GPE, so add a Kconfig option to support using a
different GPE.
Change-Id: I3b78567e1387c96bf173e4370aa3c836bbddac0b
Signed-off-by: Iru Cai <mytbk920423@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45576
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec')
-rw-r--r-- | src/ec/hp/kbc1126/Kconfig | 5 | ||||
-rw-r--r-- | src/ec/hp/kbc1126/acpi/ec.asl | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ec/hp/kbc1126/Kconfig b/src/ec/hp/kbc1126/Kconfig index fa2414adbc..cb4ddec7e4 100644 --- a/src/ec/hp/kbc1126/Kconfig +++ b/src/ec/hp/kbc1126/Kconfig @@ -5,6 +5,11 @@ config EC_HP_KBC1126 help Interface to SMSC KBC1126 embedded controller in HP laptops. +config EC_HP_KBC1126_GPE + hex + depends on EC_HP_KBC1126 + default 0x16 + config EC_HP_KBC1126_ECFW_IN_CBFS bool depends on EC_HP_KBC1126 diff --git a/src/ec/hp/kbc1126/acpi/ec.asl b/src/ec/hp/kbc1126/acpi/ec.asl index e5752a802d..81bdff969a 100644 --- a/src/ec/hp/kbc1126/acpi/ec.asl +++ b/src/ec/hp/kbc1126/acpi/ec.asl @@ -4,7 +4,7 @@ Device (EC0) { Name (_HID, EISAID("PNP0C09")) Name (_UID, 0) - Name (_GPE, 0x16) + Name (_GPE, CONFIG_EC_HP_KBC1126_GPE) Name (_CRS, ResourceTemplate () { |