diff options
-rw-r--r-- | baseboard/octopus/baseboard.h | 9 | ||||
-rw-r--r-- | board/bip/board.h | 4 | ||||
-rw-r--r-- | board/bobba/board.h | 4 | ||||
-rw-r--r-- | board/fleex/board.h | 4 | ||||
-rw-r--r-- | board/meep/board.h | 4 | ||||
-rw-r--r-- | board/phaser/board.h | 4 | ||||
-rw-r--r-- | board/yorp/board.h | 4 |
7 files changed, 9 insertions, 24 deletions
diff --git a/baseboard/octopus/baseboard.h b/baseboard/octopus/baseboard.h index 356d6b528b..016d3156c4 100644 --- a/baseboard/octopus/baseboard.h +++ b/baseboard/octopus/baseboard.h @@ -242,6 +242,15 @@ #define CONFIG_KEYBOARD_PWRBTN_ASSERTS_KSI2 #define CONFIG_PWM_KBLIGHT +/******************************************************************************* + * Sensor Config + */ + +/* Common Sensor Defines */ +#define CONFIG_TABLET_MODE +#define CONFIG_TABLET_SWITCH +#define TABLET_MODE_GPIO_L GPIO_TABLET_MODE_L + #ifndef __ASSEMBLER__ enum power_signal { diff --git a/board/bip/board.h b/board/bip/board.h index 7e910ea8f1..4cf28c834e 100644 --- a/board/bip/board.h +++ b/board/bip/board.h @@ -24,10 +24,6 @@ #define CONFIG_STEINHART_HART_3V3_51K1_47K_4050B #define CONFIG_STEINHART_HART_6V0_51K1_47K_4050B -#define CONFIG_TABLET_MODE -#define CONFIG_TABLET_SWITCH -#define TABLET_MODE_GPIO_L GPIO_TABLET_MODE_L - /* Hardware for proto bip does not support ec keyboard backlight control. */ #undef CONFIG_PWM #undef CONFIG_PWM_KBLIGHT diff --git a/board/bobba/board.h b/board/bobba/board.h index 2a7e54271a..ddc2481cbc 100644 --- a/board/bobba/board.h +++ b/board/bobba/board.h @@ -42,10 +42,6 @@ #define CONFIG_LID_ANGLE_SENSOR_BASE BASE_ACCEL #define CONFIG_LID_ANGLE_SENSOR_LID LID_ACCEL -#define CONFIG_TABLET_MODE -#define CONFIG_TABLET_SWITCH -#define TABLET_MODE_GPIO_L GPIO_TABLET_MODE_L - #define CONFIG_TEMP_SENSOR #define CONFIG_THERMISTOR #define CONFIG_STEINHART_HART_3V3_13K7_47K_4050B diff --git a/board/fleex/board.h b/board/fleex/board.h index b4e9d6e21b..8ccecb5f25 100644 --- a/board/fleex/board.h +++ b/board/fleex/board.h @@ -43,10 +43,6 @@ #define CONFIG_LID_ANGLE_SENSOR_BASE BASE_ACCEL #define CONFIG_LID_ANGLE_SENSOR_LID LID_ACCEL -#define CONFIG_TABLET_MODE -#define CONFIG_TABLET_SWITCH -#define TABLET_MODE_GPIO_L GPIO_TABLET_MODE_L - #define CONFIG_TEMP_SENSOR #define CONFIG_THERMISTOR #define CONFIG_STEINHART_HART_3V3_13K7_47K_4050B diff --git a/board/meep/board.h b/board/meep/board.h index cba8685981..2ce6b39eac 100644 --- a/board/meep/board.h +++ b/board/meep/board.h @@ -48,10 +48,6 @@ #define CONFIG_LID_ANGLE_TABLET_MODE #define CONFIG_LID_ANGLE_INVALID_CHECK -#define CONFIG_TABLET_MODE -#define CONFIG_TABLET_SWITCH -#define TABLET_MODE_GPIO_L GPIO_TABLET_MODE_L - #define CONFIG_TEMP_SENSOR #define CONFIG_THERMISTOR #define CONFIG_STEINHART_HART_3V3_13K7_47K_4050B diff --git a/board/phaser/board.h b/board/phaser/board.h index 9820841114..816fa72ba6 100644 --- a/board/phaser/board.h +++ b/board/phaser/board.h @@ -48,10 +48,6 @@ #define CONFIG_LID_ANGLE_INVALID_CHECK #define CONFIG_DYNAMIC_MOTION_SENSOR_COUNT -#define CONFIG_TABLET_MODE -#define CONFIG_TABLET_SWITCH -#define TABLET_MODE_GPIO_L GPIO_TABLET_MODE_L - /* Interrupt and fifo are only used for base accelerometer * and the lid sensor is polled real-time (in forced mode). */ diff --git a/board/yorp/board.h b/board/yorp/board.h index 2d0ea0b4ee..ee5cb7bc20 100644 --- a/board/yorp/board.h +++ b/board/yorp/board.h @@ -38,10 +38,6 @@ #define CONFIG_LID_ANGLE_TABLET_MODE #define CONFIG_LID_ANGLE_INVALID_CHECK -#define CONFIG_TABLET_MODE -#define CONFIG_TABLET_SWITCH -#define TABLET_MODE_GPIO_L GPIO_TABLET_MODE_L - #define CONFIG_TEMP_SENSOR #define CONFIG_THERMISTOR #define CONFIG_STEINHART_HART_3V3_13K7_47K_4050B |