summaryrefslogtreecommitdiff
path: root/src/mainboard/google/link/onboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/link/onboard.h')
-rw-r--r--src/mainboard/google/link/onboard.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/mainboard/google/link/onboard.h b/src/mainboard/google/link/onboard.h
index eaac383a29..2ecbdc45eb 100644
--- a/src/mainboard/google/link/onboard.h
+++ b/src/mainboard/google/link/onboard.h
@@ -20,18 +20,17 @@
#ifndef LINK_ONBOARD_H
#define LINK_ONBOARD_H
-#include <arch/smp/mpspec.h>
+#define BOARD_LIGHTSENSOR_NAME "lightsensor"
+#define BOARD_LIGHTSENSOR_I2C_ADDR 0x44
+#define BOARD_LIGHTSENSOR_IRQ 0
-#define LINK_LIGHTSENSOR_NAME "lightsensor"
-#define LINK_LIGHTSENSOR_I2C_ADDR 0x44
-#define LINK_LIGHTSENSOR_IRQ 0
+#define BOARD_TRACKPAD_NAME "trackpad"
+#define BOARD_TRACKPAD_I2C_ADDR 0x4b
+#define BOARD_TRACKPAD_IRQ 20
+#define BOARD_TRACKPAD_WAKE_GPIO 0x1c
-#define LINK_TRACKPAD_NAME "trackpad"
-#define LINK_TRACKPAD_I2C_ADDR 0x4b
-#define LINK_TRACKPAD_IRQ 20
-
-#define LINK_TOUCHSCREEN_NAME "touchscreen"
-#define LINK_TOUCHSCREEN_I2C_ADDR 0x4a
-#define LINK_TOUCHSCREEN_IRQ 22
+#define BOARD_TOUCHSCREEN_NAME "touchscreen"
+#define BOARD_TOUCHSCREEN_I2C_ADDR 0x4a
+#define BOARD_TOUCHSCREEN_IRQ 22
#endif