summaryrefslogtreecommitdiff
path: root/board/kunimitsu/board.c
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2015-09-10 16:22:49 -0700
committerchrome-bot <chrome-bot@chromium.org>2015-09-11 21:21:27 -0700
commitfc4c50119952f378aa8565ec946f541348d0dbed (patch)
tree77e1419ece61e064a8925739b750894ad4b7ead7 /board/kunimitsu/board.c
parent39c422597af03f6b07684664e0d58e477c9e99a4 (diff)
downloadchrome-ec-fc4c50119952f378aa8565ec946f541348d0dbed.tar.gz
Kunimitsu: Disable motion_sense_task to save space
BUG=none TEST=make buildall -j BRANCH=none Change-Id: I9a0746a2ab6f0f9d193f93a98fc8062aac71c0a7 Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/299500 Commit-Ready: Vijay P Hiremath <vijay.p.hiremath@intel.com> Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/kunimitsu/board.c')
-rw-r--r--board/kunimitsu/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/kunimitsu/board.c b/board/kunimitsu/board.c
index 5e2f49b00b..5634ca3b58 100644
--- a/board/kunimitsu/board.c
+++ b/board/kunimitsu/board.c
@@ -162,6 +162,7 @@ void board_reset_pd_mcu(void)
gpio_set_level(GPIO_PD_RST_L, 1);
}
+#ifdef HAS_TASK_MOTIONSENSE
/* Four Motion sensors */
/* kxcj9 mutex and local/private data*/
static struct mutex g_kxcj9_mutex[2];
@@ -267,6 +268,7 @@ const struct accel_orientation acc_orient = {
},
.hinge_axis = {1, 0, 0},
};
+#endif
/*
* Temperature sensors data; must be in same order as enum temp_sensor_id.