diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2015-04-24 16:05:58 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2015-05-05 17:56:24 +0200 |
commit | b9cd5ece14f0aeaa713299d114fcdca46276acf9 (patch) | |
tree | 040a8d4983bf2919b97424d10d6579938cbcec19 /src/mainboard/google/link/acpi/mainboard.asl | |
parent | 168eda5f0d26a233bd997e0b0597926e80df57a3 (diff) | |
download | coreboot-b9cd5ece14f0aeaa713299d114fcdca46276acf9.tar.xz |
sandy/ivy boards: Rename defines from onboard.h for ACPI
Adopted style from later Chromebooks.
Change-Id: I4993b8f40489b6bf5d08e00089f36f293853629e
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/9992
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/link/acpi/mainboard.asl')
-rw-r--r-- | src/mainboard/google/link/acpi/mainboard.asl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/mainboard/google/link/acpi/mainboard.asl b/src/mainboard/google/link/acpi/mainboard.asl index a2778a0e1a..ee727e0f5e 100644 --- a/src/mainboard/google/link/acpi/mainboard.asl +++ b/src/mainboard/google/link/acpi/mainboard.asl @@ -19,6 +19,8 @@ * MA 02110-1301 USA */ +#include <mainboard/google/link/onboard.h> + Scope (\_SB) { Device (LID0) { @@ -48,15 +50,18 @@ Scope (\_SB) { Name(_HID, EisaId("PNP0C0E")) // Trackpad Wake is GPIO12 - Name(_PRW, Package(){0x1c, 0x03}) + Name(_PRW, Package() { BOARD_TRACKPAD_WAKE_GPIO, 0x03 } ) Name(_CRS, ResourceTemplate() { // PIRQE -> GSI20 - Interrupt (ResourceConsumer, Edge, ActiveLow) {20} + Interrupt (ResourceConsumer, Edge, ActiveLow) + { + BOARD_TRACKPAD_IRQ + } // SMBUS Address 0x4b - VendorShort (ADDR) {0x4b} + VendorShort (ADDR) { BOARD_TRACKPAD_I2C_ADDR } }) } |