summaryrefslogtreecommitdiff
path: root/board/kukui/ec.tasklist
diff options
context:
space:
mode:
authorYilun Lin <yllin@google.com>2018-07-17 17:37:42 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-07-18 06:18:12 -0700
commit1107089c5b7bb5282224c3c498d514ae31c5dc87 (patch)
treea1aff2ced3bec9f6d95a3e7b5745cacf2c063eb6 /board/kukui/ec.tasklist
parentfa41f632226147183fb7a45e13b4a21b3b6b3b94 (diff)
downloadchrome-ec-1107089c5b7bb5282224c3c498d514ae31c5dc87.tar.gz
kukui: Disable vsync, motion sensor in RO.
Kukui's RO flash size (stm32f098VC) is 124KB, and the current EC RO consumes 104616 bytes (102.1KB), besides, the compressed AP FW bootblock takes 25088 bytes (24.5KB). The total size of EC RO and AP FW Bootblock (126.6KB) already exceeds the size limit. Here, we disable vsync and motion sensor in EC RO, and this decrease the EC RO to 92736 byte (90.5KB), saving around 11 KB. TEST=make BOARD=kukui -j BUG=b:80159522 BRANCH=None Change-Id: I7846714c888d95b8dbfd22b475972ecc47c28606 Signed-off-by: Yilun Lin <yllin@google.com> Reviewed-on: https://chromium-review.googlesource.com/1141451 Commit-Ready: Yilun Lin <yllin@chromium.org> Tested-by: Yilun Lin <yllin@chromium.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'board/kukui/ec.tasklist')
-rw-r--r--board/kukui/ec.tasklist2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/kukui/ec.tasklist b/board/kukui/ec.tasklist
index 4219aa45c7..23bb70225f 100644
--- a/board/kukui/ec.tasklist
+++ b/board/kukui/ec.tasklist
@@ -21,7 +21,7 @@
TASK_ALWAYS(CHARGER, charger_task, NULL, LARGER_TASK_STACK_SIZE) \
TASK_ALWAYS(USB_CHG, usb_charger_task, NULL, TASK_STACK_SIZE) \
TASK_NOTEST(CHIPSET, chipset_task, NULL, LARGER_TASK_STACK_SIZE) \
- TASK_ALWAYS(MOTIONSENSE, motion_sense_task, NULL, VENTI_TASK_STACK_SIZE) \
+ TASK_ALWAYS_RW(MOTIONSENSE, motion_sense_task, NULL, VENTI_TASK_STACK_SIZE) \
TASK_NOTEST(PDCMD, pd_command_task, NULL, LARGER_TASK_STACK_SIZE) \
TASK_ALWAYS(HOSTCMD, host_command_task, NULL, LARGER_TASK_STACK_SIZE) \
TASK_ALWAYS(CONSOLE, console_task, NULL, LARGER_TASK_STACK_SIZE) \