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>
This commit is contained in:
Vladimir Serbinenko 2013-11-26 10:13:28 +01:00
parent a522cf0c9c
commit eb13b6f3e8
3 changed files with 4 additions and 6 deletions

View File

@ -20,13 +20,7 @@
* MA 02110-1301 USA * MA 02110-1301 USA
*/ */
#include <kconfig.h>
#include "smi.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) Device(EC)
{ {
Name (_HID, EISAID("PNP0C09")) Name (_HID, EISAID("PNP0C09"))

View File

@ -19,6 +19,8 @@
* MA 02110-1301 USA * MA 02110-1301 USA
*/ */
#define THINKPAD_EC_GPE 28
DefinitionBlock( DefinitionBlock(
"dsdt.aml", "dsdt.aml",
"DSDT", "DSDT",

View File

@ -19,6 +19,8 @@
* MA 02110-1301 USA * MA 02110-1301 USA
*/ */
#define THINKPAD_EC_GPE 28
DefinitionBlock( DefinitionBlock(
"dsdt.aml", "dsdt.aml",
"DSDT", "DSDT",