diff options
author | Jonathan Brandmeyer <jbrandmeyer@chromium.org> | 2018-09-18 11:42:18 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-09-19 12:18:18 -0700 |
commit | efa5d1dac544db64d0df45db31493c0f5d26dc2c (patch) | |
tree | 7de2b7dcd8372ce13f6c5b02c1c78f79cd5a9d62 /board/careena | |
parent | 5a09049c5cc9a30ddfbe69e11b833146d8f5f04f (diff) | |
download | chrome-ec-efa5d1dac544db64d0df45db31493c0f5d26dc2c.tar.gz |
Careena: Disable motion sensors
The body frame motion sensor will not be installed for Careena.
BUG=b:115649135
TEST=observe that the EC does not attempt to initialize any of its
motion sensors in the EC log.
BRANCH=grunt
Signed-off-by: Jonathan Brandmeyer <jbrandmeyer@chromium.org>
Change-Id: I0e7c2e9e39d290c21f20b766da4347a2e2902942
Reviewed-on: https://chromium-review.googlesource.com/1231474
Commit-Ready: Jett Rink <jettrink@chromium.org>
Tested-by: Jonathan Brandmeyer <jbrandmeyer@chromium.org>
Reviewed-by: Edward Hill <ecgh@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board/careena')
-rw-r--r-- | board/careena/board.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/board/careena/board.c b/board/careena/board.c index 2aec72f7c6..bb1c19cbc7 100644 --- a/board/careena/board.c +++ b/board/careena/board.c @@ -108,15 +108,8 @@ BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT); static void board_init(void) { - /* - * Careena's baseboard is rotated 180 degrees about the +y axis relative - * to the Grunt reference design. - */ - grunt_base_standard_ref[0][0] = FLOAT_TO_FP(-1); - grunt_base_standard_ref[2][2] = FLOAT_TO_FP(-1); - - /* Enable Gyro interrupts */ - gpio_enable_interrupt(GPIO_6AXIS_INT_L); + /* Careena has no motion sensors */ + motion_sensor_count = 0; } DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT); |