diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2018-12-19 09:30:06 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-02-28 11:01:44 -0800 |
commit | d77a5fc3f718c5ffa7e1149264342e5d5eb7a7b0 (patch) | |
tree | ee5ac7a81e7502688e270b2ca1c65724b705490e | |
parent | 99adc669fb417eee09a85a5fda5106de0a923d6a (diff) | |
download | chrome-ec-d77a5fc3f718c5ffa7e1149264342e5d5eb7a7b0.tar.gz |
ampton: cleanup: Put all sensor defines together
BUG=none
BRANCH=octopus
TEST=compile, verify that .config is the same before and after the
patch.
Change-Id: I414e6835927f0062bc2785c645458aa5a485c9e5
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1387922
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
-rw-r--r-- | board/ampton/board.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/board/ampton/board.h b/board/ampton/board.h index bc4132385e..35e8d8a8de 100644 --- a/board/ampton/board.h +++ b/board/ampton/board.h @@ -24,6 +24,8 @@ #define GPIO_VOLUME_UP_L GPIO_EC_VOLUP_BTN_ODL #define GPIO_VOLUME_DOWN_L GPIO_EC_VOLDN_BTN_ODL +#define CONFIG_LED_COMMON + /* Sensors */ #define CONFIG_TEMP_SENSOR #define CONFIG_THERMISTOR @@ -39,15 +41,6 @@ /* Sensors without hardware FIFO are in forced mode */ #define CONFIG_ACCEL_FORCE_MODE_MASK (1 << LID_ACCEL) -#undef CONFIG_UART_TX_BUF_SIZE -#define CONFIG_UART_TX_BUF_SIZE 4096 - -/* Keyboard backlight is unimplemented in hardware */ -#undef CONFIG_PWM -#undef CONFIG_PWM_KBLIGHT - -#define CONFIG_LED_COMMON - #define CONFIG_LID_ANGLE #define CONFIG_LID_ANGLE_UPDATE #define CONFIG_LID_ANGLE_SENSOR_BASE BASE_ACCEL @@ -56,6 +49,13 @@ #define CONFIG_ACCELGYRO_BMI160_INT_EVENT TASK_EVENT_CUSTOM(1 << 2) #define CONFIG_SYNC_INT_EVENT TASK_EVENT_CUSTOM(1 << 3) +/* Keyboard backlight is unimplemented in hardware */ +#undef CONFIG_PWM +#undef CONFIG_PWM_KBLIGHT + +#undef CONFIG_UART_TX_BUF_SIZE +#define CONFIG_UART_TX_BUF_SIZE 4096 + #ifndef __ASSEMBLER__ #include "gpio_signal.h" |