diff options
author | Wai-Hong Tam <waihong@google.com> | 2020-05-13 15:32:10 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-05-16 08:33:33 +0000 |
commit | d3f7940da1510b6dc9726556ce483aff01833c38 (patch) | |
tree | afedd89c1b3f4bb9a73d7659fa6fc00c6c936ed8 /board/lazor/board.h | |
parent | 08f2e2f5ea3b06c6a8a952e0c643532ed4abe58e (diff) | |
download | chrome-ec-d3f7940da1510b6dc9726556ce483aff01833c38.tar.gz |
Lazor: Change the lid accel sensor driver
Change the driver from KX022 to BMA253.
BRANCH=None
BUG=b:155853349
TEST=Build the lazor image and check the lid accel sensor info.
Change-Id: I945173dfa0592adbfc4ff16ebe203a92515c5f29
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2200067
Reviewed-by: Philip Chen <philipchen@chromium.org>
Reviewed-by: Alexandru M Stan <amstan@chromium.org>
Diffstat (limited to 'board/lazor/board.h')
-rw-r--r-- | board/lazor/board.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/lazor/board.h b/board/lazor/board.h index 34397497fd..4868448187 100644 --- a/board/lazor/board.h +++ b/board/lazor/board.h @@ -42,8 +42,8 @@ TASK_EVENT_MOTION_SENSOR_INTERRUPT(BASE_ACCEL) #define OPT3001_I2C_ADDR_FLAGS OPT3001_I2C_ADDR1_FLAGS -/* KX022 lid accel */ -#define CONFIG_ACCEL_KX022 +/* BMA253 lid accel */ +#define CONFIG_ACCEL_BMA255 #define CONFIG_ACCEL_FORCE_MODE_MASK BIT(LID_ACCEL) #define CONFIG_LID_ANGLE |