diff options
author | Jonathan Brandmeyer <jbrandmeyer@chromium.org> | 2018-10-04 10:19:57 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-10-04 17:09:13 -0700 |
commit | 634494ec964ac288222e7cd85f83d55a64aca7a1 (patch) | |
tree | bcc1d2bfa8c5876da2175b64fc3e0a677444bc96 /board/liara/board.c | |
parent | ce110598773fca8ef888e3a40f3e433da78e75a7 (diff) | |
download | chrome-ec-634494ec964ac288222e7cd85f83d55a64aca7a1.tar.gz |
careena, liara, aleena: Remove motion sensing support
These members of the grunt family do not include any motion sensors.
Remove them entirely, both to save space and to disable some factory
tests.
build/aleena/RW/space_free_flash grew by 12716 bytes: (62400 to 75116)
build/aleena/RW/space_free_ram grew by 9888 bytes: (30272 to 40160)
build/careena/RW/space_free_flash grew by 12864 bytes: (61664 to 74528)
build/careena/RW/space_free_ram grew by 9856 bytes: (30304 to 40160)
build/liara/RW/space_free_flash grew by 12724 bytes: (61364 to 74088)
build/liara/RW/space_free_ram grew by 9856 bytes: (30272 to 40128)
BRANCH=grunt
BUG=b:115649135
TEST=boot Careena. Observe that `ectool motionsense` returns an INVALID
COMMAND error, and that the EC console shows no attempt is made to
communicate with the sensors.
Change-Id: I322978fc80e36b999e77f9e3d54b175c6814fdcf
Signed-off-by: Jonathan Brandmeyer <jbrandmeyer@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1262099
Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'board/liara/board.c')
-rw-r--r-- | board/liara/board.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/board/liara/board.c b/board/liara/board.c index 6450ad034b..2b452ad3f7 100644 --- a/board/liara/board.c +++ b/board/liara/board.c @@ -14,9 +14,6 @@ #include "common.h" #include "compile_time_macros.h" #include "console.h" -#include "driver/accel_kionix.h" -#include "driver/accel_kx022.h" -#include "driver/accelgyro_bmi160.h" #include "driver/led/lm3630a.h" #include "driver/ppc/sn5s330.h" #include "driver/tcpm/anx74xx.h" @@ -29,7 +26,6 @@ #include "i2c.h" #include "keyboard_scan.h" #include "lid_switch.h" -#include "motion_sense.h" #include "power.h" #include "power_button.h" #include "pwm.h" @@ -120,8 +116,6 @@ BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT); static void board_init(void) { - /* Enable Gyro interrupts */ - gpio_enable_interrupt(GPIO_6AXIS_INT_L); } DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT); |