diff options
author | Nicolas Boichat <drinkcat@google.com> | 2017-07-27 10:17:11 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-07-29 19:01:12 -0700 |
commit | 36607e45bf7b102f37335256281ff0c9094cd9a3 (patch) | |
tree | 1d31b7164cd47187ac732fe8d27a3288d209c718 /board/poppy/board.h | |
parent | a7b57ca84c3ee81fc51f46133f0d67abf65b10bb (diff) | |
download | chrome-ec-36607e45bf7b102f37335256281ff0c9094cd9a3.tar.gz |
poppy: Remove Lid Barometer
This ended up not being populated on poppy or soraka.
BRANCH=none
BUG=b:62396794
TEST=Flash poppy, barometer is not present in `accelinfo on` data.
Change-Id: I5a7bc79598e1aacf088db2e7cdcf961ceaefab20
Signed-off-by: Nicolas Boichat <drinkcat@google.com>
Reviewed-on: https://chromium-review.googlesource.com/590331
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Diffstat (limited to 'board/poppy/board.h')
-rw-r--r-- | board/poppy/board.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/board/poppy/board.h b/board/poppy/board.h index a274796d5d..daf3cf41b2 100644 --- a/board/poppy/board.h +++ b/board/poppy/board.h @@ -124,8 +124,6 @@ #define BMM150_I2C_ADDRESS BMM150_ADDR0 /* 8-bit address */ #define CONFIG_MAG_CALIBRATE -#define CONFIG_BARO_BMP280 - /* FIFO size is in power of 2. */ #define CONFIG_ACCEL_FIFO 1024 @@ -226,15 +224,11 @@ enum als_id { * When reading through IO memory is set up for sensors (LPC is used), * the first 2 entries must be accelerometers, then gyroscope. * For BMI160, accel, gyro and compass sensors must be next to each other. - * - * TODO(crosbug.com/p/61098): Understand how the statement above applies - * since we only have one accelerometer. */ enum sensor_id { LID_ACCEL = 0, LID_GYRO, LID_MAG, - LID_BARO, }; enum adc_channel { @@ -272,9 +266,6 @@ int board_get_version(void); void board_reset_pd_mcu(void); void board_set_tcpc_power_mode(int port, int mode); -/* Sensors without hardware FIFO are in forced mode */ -#define CONFIG_ACCEL_FORCE_MODE_MASK (1 << LID_BARO) - #endif /* !__ASSEMBLER__ */ #endif /* __CROS_EC_BOARD_H */ |