summaryrefslogtreecommitdiff
path: root/zephyr/boards/riscv/it8xxx2/Kconfig.defconfig
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/boards/riscv/it8xxx2/Kconfig.defconfig')
-rw-r--r--zephyr/boards/riscv/it8xxx2/Kconfig.defconfig50
1 files changed, 50 insertions, 0 deletions
diff --git a/zephyr/boards/riscv/it8xxx2/Kconfig.defconfig b/zephyr/boards/riscv/it8xxx2/Kconfig.defconfig
new file mode 100644
index 0000000000..1b1472dfe1
--- /dev/null
+++ b/zephyr/boards/riscv/it8xxx2/Kconfig.defconfig
@@ -0,0 +1,50 @@
+# Copyright 2021 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+if BOARD_IT8XXX2
+
+config BOARD
+ default "it8xxx2"
+
+# Zephyr internal stack sizes
+
+config IDLE_STACK_SIZE
+ default 256
+
+config ISR_STACK_SIZE
+ default 800
+
+config SYSTEM_WORKQUEUE_STACK_SIZE
+ default 1024
+
+
+# Chromium EC stack sizes
+
+config TASK_CHARGER_STACK_SIZE
+ default 960
+
+config TASK_CHIPSET_STACK_SIZE
+ default 820
+
+config TASK_HOSTCMD_STACK_SIZE
+ default 1024
+
+config TASK_KEYSCAN_STACK_SIZE
+ default 920
+
+config TASK_MOTIONSENSE_STACK_SIZE
+ default 920
+
+config TASK_PD_STACK_SIZE
+ default 1024
+
+config TASK_USB_CHG_STACK_SIZE
+ default 800
+
+
+choice PLATFORM_EC_HOSTCMD_DEBUG_MODE
+ default HCDEBUG_OFF
+endchoice # PLATFORM_EC_HOSTCMD_DEBUG_MODE
+
+endif # BOARD_IT8XXX2