summaryrefslogtreecommitdiff
path: root/board/elemi/board.c
diff options
context:
space:
mode:
authorDevin Lu <Devin.Lu@quantatw.com>2020-11-23 10:34:54 +0800
committerCommit Bot <commit-bot@chromium.org>2020-11-30 23:56:30 +0000
commit955eef5ec6701fce65733107a08234e5d3b60dd6 (patch)
treec3af997d01dcda96f009f4252d9471dc305faf98 /board/elemi/board.c
parent26631f3e43d535a74f21bad5b8f1fef328692b58 (diff)
downloadchrome-ec-955eef5ec6701fce65733107a08234e5d3b60dd6.tar.gz
Elemi: Remove sensors
This commit remove sensors and tablet mode, since Elemi doesn't support that. BUG=b:163012636 BRANCH=firmware-volteer-13521.B-master TEST=Verified boot without sensors initial. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: Icf23456763699024d934d78ac2cc20fcfcc5b9bb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2554171 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/elemi/board.c')
-rw-r--r--board/elemi/board.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/board/elemi/board.c b/board/elemi/board.c
index 4f9db697e2..b8971f8aa8 100644
--- a/board/elemi/board.c
+++ b/board/elemi/board.c
@@ -8,9 +8,6 @@
#include "common.h"
#include "accelgyro.h"
#include "cbi_ec_fw_config.h"
-#include "driver/accel_bma2x2.h"
-#include "driver/accelgyro_bmi260.h"
-#include "driver/als_tcs3400.h"
#include "driver/bc12/pi3usb9201.h"
#include "driver/ppc/sn5s330.h"
#include "driver/ppc/syv682x.h"
@@ -34,7 +31,6 @@
#include "switch.h"
#include "system.h"
#include "task.h"
-#include "tablet_mode.h"
#include "throttle_ap.h"
#include "uart.h"
#include "usb_mux.h"
@@ -168,13 +164,6 @@ BUILD_ASSERT(ARRAY_SIZE(mft_channels) == MFT_CH_COUNT);
/* I2C port map configuration */
const struct i2c_port_t i2c_ports[] = {
{
- .name = "sensor",
- .port = I2C_PORT_SENSOR,
- .kbps = 400,
- .scl = GPIO_EC_I2C0_SENSOR_SCL,
- .sda = GPIO_EC_I2C0_SENSOR_SDA,
- },
- {
.name = "usb_c0",
.port = I2C_PORT_USB_C0,
.kbps = 1000,