diff options
author | Keith Short <keithshort@chromium.org> | 2022-01-06 13:58:25 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-01-07 19:32:27 +0000 |
commit | ae319d471d09ef5e1f4e8975e21af9222654be9c (patch) | |
tree | a0d795f68c6a0c642c5614038420aee08cbdaadd /zephyr/boards | |
parent | 7af4a1cf9a38dd3d144d473b6a4ce05fa2e43e99 (diff) | |
download | chrome-ec-ae319d471d09ef5e1f4e8975e21af9222654be9c.tar.gz |
zephyr: it8xxx2: set default hook tick interval
Set the default HOOK_TICK_INTERVAL for all projects based on the it8xxx2
zephyr board to match the cros-ec setting (500ms).
This reduces power consumption.
BUG=none
BRANCH=b:192354255
TEST=zmake tesall
Change-Id: I1d7fc8d046a6b307d7daa6c4f6289e04fc9df818
Signed-off-by: Keith Short <keithshort@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3373381
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'zephyr/boards')
-rw-r--r-- | zephyr/boards/riscv/it8xxx2/it8xxx2_defconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zephyr/boards/riscv/it8xxx2/it8xxx2_defconfig b/zephyr/boards/riscv/it8xxx2/it8xxx2_defconfig index 1bef238fb9..252abf0972 100644 --- a/zephyr/boards/riscv/it8xxx2/it8xxx2_defconfig +++ b/zephyr/boards/riscv/it8xxx2/it8xxx2_defconfig @@ -31,6 +31,9 @@ CONFIG_CLOCK_CONTROL=y CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=32768 CONFIG_SYS_CLOCK_TICKS_PER_SEC=32768 +# Hook tick +CONFIG_CROS_EC_HOOK_TICK_INTERVAL=500000 + # Flash CONFIG_PLATFORM_EC_CONSOLE_CMD_FLASH=y CONFIG_PLATFORM_EC_FLASH_CROS=y |