mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-11 18:35:28 +00:00
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>
This commit is contained in:
committed by
chrome-bot
parent
39c422597a
commit
fc4c501199
@@ -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.
|
||||
|
||||
@@ -113,10 +113,12 @@
|
||||
#define OPT3001_I2C_ADDR OPT3001_I2C_ADDR1
|
||||
|
||||
/* Accelerometer */
|
||||
#ifdef HAS_TASK_MOTIONSENSE
|
||||
#define CONFIG_ACCEL_KXCJ9
|
||||
#define CONFIG_LID_ANGLE
|
||||
#define CONFIG_LID_ANGLE_SENSOR_BASE 0
|
||||
#define CONFIG_LID_ANGLE_SENSOR_LID 1
|
||||
#endif
|
||||
|
||||
/* Modules we want to exclude */
|
||||
#undef CONFIG_CMD_ACCEL_INFO
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
TASK_ALWAYS(USB_CHG_P0, usb_charger_task, NULL, TASK_STACK_SIZE) \
|
||||
TASK_ALWAYS(USB_CHG_P1, usb_charger_task, NULL, TASK_STACK_SIZE) \
|
||||
TASK_ALWAYS(CHARGER, charger_task, NULL, LARGER_TASK_STACK_SIZE) \
|
||||
TASK_NOTEST(MOTIONSENSE, motion_sense_task, NULL, LARGER_TASK_STACK_SIZE) \
|
||||
TASK_NOTEST(CHIPSET, chipset_task, NULL, LARGER_TASK_STACK_SIZE) \
|
||||
TASK_NOTEST(KEYPROTO, keyboard_protocol_task, NULL, TASK_STACK_SIZE) \
|
||||
TASK_NOTEST(PDCMD, pd_command_task, NULL, TASK_STACK_SIZE) \
|
||||
|
||||
Reference in New Issue
Block a user