blob: 6b38f9395be4400520f5c3a9c14d13694b124b35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Copyright 2021 The ChromiumOS Authors
# 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"
choice PLATFORM_EC_HOSTCMD_DEBUG_MODE
default HCDEBUG_OFF
endchoice # PLATFORM_EC_HOSTCMD_DEBUG_MODE
config CROS_EC_HOOK_TICK_INTERVAL
default 500000
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 32768
config SYS_CLOCK_TICKS_PER_SEC
default 32768
if ADC
config PLATFORM_EC_ADC_RESOLUTION
default 10
endif # ADC
if CONSOLE
config UART_CONSOLE
default y
depends on SERIAL
endif # CONSOLE
if FLASH
config PLATFORM_EC_CONSOLE_CMD_FLASH
default y
endif # FLASH
if SERIAL
config UART_INTERRUPT_DRIVEN
default y
endif # SERIAL
if SHELL
config SHELL_TAB
default y
config SHELL_TAB_AUTOCOMPLETION
default y
config SHELL_HISTORY
default y
endif # SHELL
if WATCHDOG
config PLATFORM_EC_WATCHDOG_PERIOD_MS
default 2500
config WDT_ITE_WARNING_LEADING_TIME_MS
default 500
config WDT_ITE_REDUCE_WARNING_LEADING_TIME
default y
endif # WATCHDOG
endif # BOARD_IT8XXX2
|