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/onboard.h | |
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/onboard.h')
-rw-r--r-- | src/mainboard/google/link/onboard.h | 21 |
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 |