diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2022-04-25 19:27:53 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-05-23 16:44:43 +0000 |
commit | 9175f84a4c6e9f06e6a3bfdc8c49acb0ecdb4e29 (patch) | |
tree | 07d892bb1f68342da30e5f02bb55e8b02d9652c9 | |
parent | af72a4dfd443ac235304cec3d5778e9a97d632a0 (diff) | |
download | chrome-ec-9175f84a4c6e9f06e6a3bfdc8c49acb0ecdb4e29.tar.gz |
beadrix/pirika/waddledee/wheelie: Add CONFIG_ACCEL_LSM6DSM_INT_EVENT
board.h was missing this define. The error was hidden since
CONFIG_ACCEL_LSM6DSM_INT_EVENT was defined to 0 only in LSM6DSM driver
when not found.
See commit 55dc3bb5577 ("driver: lsm6dsm: Allow building without CONFIG_ACCEL_FIFO")
These boards are canceled projects, so it does not impact any devices.
BUG=b:230401133
BRANCH=asurada,dedede,brya
TEST=Build all. Check Zephyr with herobrine. Check on bugzzy.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: I402e2a14b7d44623f859092875085b9928ef9821
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3609123
Reviewed-by: Yuval Peress <peress@google.com>
-rw-r--r-- | board/beadrix/board.h | 2 | ||||
-rw-r--r-- | board/pirika/board.h | 2 | ||||
-rw-r--r-- | board/waddledee/board.h | 2 | ||||
-rw-r--r-- | board/wheelie/board.h | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/board/beadrix/board.h b/board/beadrix/board.h index bfa614edf6..2b0a85a0ee 100644 --- a/board/beadrix/board.h +++ b/board/beadrix/board.h @@ -47,6 +47,8 @@ /* Sensors */ #define CONFIG_ACCEL_KX022 /* Lid accel */ #define CONFIG_ACCELGYRO_LSM6DSM /* Base accel */ +#define CONFIG_ACCEL_LSM6DSM_INT_EVENT \ + TASK_EVENT_MOTION_SENSOR_INTERRUPT(BASE_ACCEL) /* Sensors without hardware FIFO are in forced mode */ #define CONFIG_ACCEL_FORCE_MODE_MASK BIT(LID_ACCEL) diff --git a/board/pirika/board.h b/board/pirika/board.h index df9e01b775..932653e1ae 100644 --- a/board/pirika/board.h +++ b/board/pirika/board.h @@ -46,6 +46,8 @@ /* Sensors */ #define CONFIG_ACCEL_KX022 /* Lid accel */ #define CONFIG_ACCELGYRO_LSM6DSM /* Base accel */ +#define CONFIG_ACCEL_LSM6DSM_INT_EVENT \ + TASK_EVENT_MOTION_SENSOR_INTERRUPT(BASE_ACCEL) /* Sensors without hardware FIFO are in forced mode */ #define CONFIG_ACCEL_FORCE_MODE_MASK BIT(LID_ACCEL) diff --git a/board/waddledee/board.h b/board/waddledee/board.h index 1110b99c6e..9cdfcc1e06 100644 --- a/board/waddledee/board.h +++ b/board/waddledee/board.h @@ -49,6 +49,8 @@ /* Sensors */ #define CONFIG_ACCEL_KX022 /* Lid accel */ #define CONFIG_ACCELGYRO_LSM6DSM /* Base accel */ +#define CONFIG_ACCEL_LSM6DSM_INT_EVENT \ + TASK_EVENT_MOTION_SENSOR_INTERRUPT(BASE_ACCEL) /* Sensors without hardware FIFO are in forced mode */ #define CONFIG_ACCEL_FORCE_MODE_MASK BIT(LID_ACCEL) diff --git a/board/wheelie/board.h b/board/wheelie/board.h index 4c4a4acc14..194c49adb6 100644 --- a/board/wheelie/board.h +++ b/board/wheelie/board.h @@ -40,6 +40,8 @@ #define CONFIG_ACCEL_LIS2DE /* Lid accel */ #define CONFIG_ACCELGYRO_LSM6DSM /* Base accel */ #define CONFIG_SYNC /* Camera VSYNC */ +#define CONFIG_ACCEL_LSM6DSM_INT_EVENT \ + TASK_EVENT_MOTION_SENSOR_INTERRUPT(BASE_ACCEL) /* Sensors without hardware FIFO are in forced mode */ #define CONFIG_ACCEL_FORCE_MODE_MASK BIT(LID_ACCEL) |