diff options
-rw-r--r-- | src/ec/lenovo/h8/acpi/ec.asl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ec/lenovo/h8/acpi/ec.asl b/src/ec/lenovo/h8/acpi/ec.asl index 368afa828d..db3712d7eb 100644 --- a/src/ec/lenovo/h8/acpi/ec.asl +++ b/src/ec/lenovo/h8/acpi/ec.asl @@ -19,13 +19,19 @@ * MA 02110-1301 USA */ +#include <kconfig.h> #include "smi.h" +#if IS_ENABLED (CONFIG_BOARD_LENOVO_X201) +#define THINKPAD_EC_GPE 17 +#else +#define THINKPAD_EC_GPE 28 +#endif Device(EC) { Name (_HID, EISAID("PNP0C09")) Name (_UID, 0) - Name (_GPE, 28) + Name (_GPE, THINKPAD_EC_GPE) Mutex (ECLK, 0) OperationRegion(ERAM, EmbeddedControl, 0x00, 0x100) |