diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2013-11-26 10:13:28 +0100 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2013-12-01 13:36:25 +0100 |
commit | eb13b6f3e886d6f97105464cc2292e775ac83778 (patch) | |
tree | 61f7af9a986dec2965a669f7a32a8c962baa9b18 | |
parent | a522cf0c9c348ca75d8a758857c180db88c0f691 (diff) | |
download | coreboot-eb13b6f3e886d6f97105464cc2292e775ac83778.tar.xz |
H8: Move EC GPE declaration to mainboard
Change-Id: Iefc481f09268dd15bbc3cbfa8bdd110d44383f6a
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/4281
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martin.roth@se-eng.com>
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
-rw-r--r-- | src/ec/lenovo/h8/acpi/ec.asl | 6 | ||||
-rw-r--r-- | src/mainboard/lenovo/t60/dsdt.asl | 2 | ||||
-rw-r--r-- | src/mainboard/lenovo/x60/dsdt.asl | 2 |
3 files changed, 4 insertions, 6 deletions
diff --git a/src/ec/lenovo/h8/acpi/ec.asl b/src/ec/lenovo/h8/acpi/ec.asl index f2a8061e0e..df19fb883c 100644 --- a/src/ec/lenovo/h8/acpi/ec.asl +++ b/src/ec/lenovo/h8/acpi/ec.asl @@ -20,13 +20,7 @@ * 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")) diff --git a/src/mainboard/lenovo/t60/dsdt.asl b/src/mainboard/lenovo/t60/dsdt.asl index f32a22034b..383bb30c35 100644 --- a/src/mainboard/lenovo/t60/dsdt.asl +++ b/src/mainboard/lenovo/t60/dsdt.asl @@ -19,6 +19,8 @@ * MA 02110-1301 USA */ +#define THINKPAD_EC_GPE 28 + DefinitionBlock( "dsdt.aml", "DSDT", diff --git a/src/mainboard/lenovo/x60/dsdt.asl b/src/mainboard/lenovo/x60/dsdt.asl index f32a22034b..383bb30c35 100644 --- a/src/mainboard/lenovo/x60/dsdt.asl +++ b/src/mainboard/lenovo/x60/dsdt.asl @@ -19,6 +19,8 @@ * MA 02110-1301 USA */ +#define THINKPAD_EC_GPE 28 + DefinitionBlock( "dsdt.aml", "DSDT", |