intel/sklrvp: Switch to using GPIO IRQ defines

Use the macro for GPP_E22_IRQ instead of the ACPI code so it
can be removed.

BUG=chrome-os-partner:40635
BRANCH=none
TEST=emerge-sklrvp coreboot

Change-Id: I09bea748fea34072d4f8ad7470d37e423b7f63de
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Original-Commit-Id: 89069f5f318329182390cad679511547b7d2a6d5
Original-Change-Id: Iad181b4ce1c557ce8d17645431d8ba6f558bb837
Original-Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/295171
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/11427
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Duncan Laurie 2015-08-21 11:36:23 -07:00 committed by Patrick Georgi
parent ad3127f344
commit bcd99301b8
1 changed files with 3 additions and 12 deletions

View File

@ -18,9 +18,7 @@
* Foundation, Inc. * Foundation, Inc.
*/ */
/* REAKTEK Audio Jack Interrupt */ #include <soc/gpio.h>
#define GPIO_SKL_LP_GPP_E22 0x02040016
#include <mainboard/intel/sklrvp/onboard.h> #include <mainboard/intel/sklrvp/onboard.h>
/* /*
@ -138,18 +136,11 @@ Scope (\_SB.PCI0.I2C0)
Name (SBFI, ResourceTemplate () Name (SBFI, ResourceTemplate ()
{ {
Interrupt (ResourceConsumer, Level, ActiveLow, Interrupt (ResourceConsumer, Level, ActiveLow,
ExclusiveAndWake, ,, _Y22) ExclusiveAndWake)
{ {
0x00000000, GPP_E22_IRQ
} }
}) })
/* _INT: Interrupts */
CreateDWordField (SBFI, _Y22._INT, INT2)
Store (INUM (GPIO_SKL_LP_GPP_E22), INT2)
Return (ConcatenateResTemplate (RBUF, SBFI))
} }
Method (_STA, 0, NotSerialized) Method (_STA, 0, NotSerialized)