diff options
author | Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com> | 2022-05-04 15:48:06 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-05-05 03:42:41 +0000 |
commit | da3db5b7a00bac2e7923719524a2fc280539bdde (patch) | |
tree | be0e51dc77b30c1ba2ed0c80a0ae7b6b9e2dc162 /board/osiris/board.h | |
parent | cb74b8ed9fdc852bc5b4d79424a5b4434a939742 (diff) | |
download | chrome-ec-factory-firmware-ti50-guc-14778.B-main.tar.gz |
osiris: Remove unused sensorfactory-firmware-ti50-guc-14778.B-mainfactory-14778.B-main
Remove motion sensor task and configuration
BUG=b:224423318
BRANCH=none
TEST=make BOARD=osiris
Signed-off-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com>
Change-Id: I3a222620acaa26bcdcc0e5d4403fb04c63477cb8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3627370
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Diffstat (limited to 'board/osiris/board.h')
-rw-r--r-- | board/osiris/board.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/board/osiris/board.h b/board/osiris/board.h index bbbf40017e..03671e81f4 100644 --- a/board/osiris/board.h +++ b/board/osiris/board.h @@ -29,37 +29,6 @@ /* LED */ #define CONFIG_LED_ONOFF_STATES -/* Sensors */ -#define CONFIG_ACCELGYRO_LSM6DSO /* Base accel */ -#define CONFIG_ACCEL_LSM6DSO_INT_EVENT \ - TASK_EVENT_MOTION_SENSOR_INTERRUPT(BASE_ACCEL) - -/* Enable sensor fifo, must also define the _SIZE and _THRES */ -#define CONFIG_ACCEL_FIFO -/* FIFO size is in power of 2. */ -#define CONFIG_ACCEL_FIFO_SIZE 256 -/* Depends on how fast the AP boots and typical ODRs */ -#define CONFIG_ACCEL_FIFO_THRES (CONFIG_ACCEL_FIFO_SIZE / 3) - -/* Sensors without hardware FIFO are in forced mode */ -#define CONFIG_ACCEL_FORCE_MODE_MASK BIT(LID_ACCEL) - -/* Lid accel */ -#define CONFIG_LID_ANGLE -#define CONFIG_LID_ANGLE_UPDATE -#define CONFIG_LID_ANGLE_SENSOR_BASE BASE_ACCEL -#define CONFIG_LID_ANGLE_SENSOR_LID LID_ACCEL -#define CONFIG_ACCEL_LIS2DWL -#define CONFIG_ACCEL_LIS2DW_AS_BASE -#define CONFIG_ACCEL_LIS2DW12_INT_EVENT \ - TASK_EVENT_MOTION_SENSOR_INTERRUPT(LID_ACCEL) - -#define CONFIG_ACCEL_INTERRUPTS - -/* Sensor console commands */ -#define CONFIG_CMD_ACCELS -#define CONFIG_CMD_ACCEL_INFO - /* USB Type A Features */ #define USB_PORT_COUNT 1 #define CONFIG_USB_PORT_POWER_DUMB @@ -192,13 +161,6 @@ enum temp_sensor_id { TEMP_SENSOR_COUNT }; -enum sensor_id { - LID_ACCEL = 0, - BASE_ACCEL, - BASE_GYRO, - SENSOR_COUNT -}; - enum battery_type { BATTERY_AP19B8M, BATTERY_TYPE_COUNT |