summaryrefslogtreecommitdiff
path: root/src/ec/lenovo/h8
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2013-11-13 18:24:04 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2013-11-23 23:41:12 +0100
commit219f068ae3522f52dfb09b1b2bc93cfbf21d5357 (patch)
tree26fdf87d3a574d7bbb3b91e6ed17ced2e516d667 /src/ec/lenovo/h8
parent617f853ae43ce1c15fbec1ecba2aa5624f6b4c7d (diff)
downloadcoreboot-219f068ae3522f52dfb09b1b2bc93cfbf21d5357.tar.xz
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@gmail.com> Reviewed-on: http://review.coreboot.org/4053 Reviewed-by: Idwer Vollering <vidwer@gmail.com> Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/ec/lenovo/h8')
-rw-r--r--src/ec/lenovo/h8/acpi/ec.asl8
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)