[coreboot-gerrit] New patch to review for coreboot: a051f77 Change EC GPE on X201
Vladimir Serbinenko (phcoder@gmail.com)
gerrit at coreboot.org
Wed Nov 13 18:25:17 CET 2013
Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4053
-gerrit
commit a051f77f1a7c7bf73608560a6d9dbd512e4fb76c
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date: Wed Nov 13 18:24:04 2013 +0100
Change EC GPE on X201
X201 has GPE at 0x11 (17) instead of 28.
Tested on X201.
Change-Id: Ib6306e6f085c4f6811df0789aa402a0d6901ed13
Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
src/ec/lenovo/h8/acpi/ec.asl | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/ec/lenovo/h8/acpi/ec.asl b/src/ec/lenovo/h8/acpi/ec.asl
index 368afa8..fa12a5b 100644
--- a/src/ec/lenovo/h8/acpi/ec.asl
+++ b/src/ec/lenovo/h8/acpi/ec.asl
@@ -20,12 +20,18 @@
*/
#include "smi.h"
+#if defined (CONFIG_BOARD_LENOVO_X201) && CONFIG_BOARD_LENOVO_X201
+#define THINKPAD_EC_GPE 0x11
+#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)
More information about the coreboot-gerrit
mailing list