summaryrefslogtreecommitdiff
path: root/board/treeya
diff options
context:
space:
mode:
authorChing-Kang Yen <chingkang@chromium.org>2020-04-16 23:57:17 +0800
committerChing-Kang Yen <chingkang@chromium.org>2020-04-23 13:43:16 +0000
commit557dafbacbc61cd4c5dec9f27ead4ea17b67aac6 (patch)
tree1b4e36d70a7c426371dc173a58f751012cd3977d /board/treeya
parent86be30f5c4220112c6303c176f12096151285515 (diff)
downloadchrome-ec-557dafbacbc61cd4c5dec9f27ead4ea17b67aac6.tar.gz
driver: Replace BMI160 to BMI in board config
Replace some macro of BMI160 to BMI version for common function of BMI series. Make board config include the accelgyro_bmi_common.h instead of accel_gyro_bmi160.h. BRANCH=None BUG=b:146144827 TEST=make buildall -j Change-Id: I043ff8a92f15295ead3fa5c1e292319e2b4fa21a Signed-off-by: Ching-Kang Yen <chingkang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2156525 Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Diffstat (limited to 'board/treeya')
-rw-r--r--board/treeya/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/treeya/board.c b/board/treeya/board.c
index 69e91b3103..c796bf43a0 100644
--- a/board/treeya/board.c
+++ b/board/treeya/board.c
@@ -7,7 +7,7 @@
#include "button.h"
#include "driver/accel_lis2dw12.h"
-#include "driver/accelgyro_bmi160.h"
+#include "driver/accelgyro_bmi_common.h"
#include "driver/accelgyro_lsm6dsm.h"
#include "extpower.h"
#include "i2c.h"