diff options
author | Tim Lin <tim2.lin@ite.corp-partner.google.com> | 2022-07-04 16:50:27 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-11 10:31:30 +0000 |
commit | eb17561232434bacb156f35b4f07e041634c65a3 (patch) | |
tree | ef52ce4802dc4d4ce27904709224cd957534c01a | |
parent | 7330f3feee15e93053e2794f22cc5f57517933f8 (diff) | |
download | chrome-ec-eb17561232434bacb156f35b4f07e041634c65a3.tar.gz |
zephyr: cleanup: it8xxx2: Remove the redefined configurations
These configurations have been defined in: third_party/zephyr/
main/soc/riscv/riscv-ite/it8xxx2/Kconfig.defconfig.series
https://github.com/zephyrproject-rtos/zephyr/blob/main/soc/riscv/riscv-ite/it8xxx2/Kconfig.defconfig.series
Note:
Clock driver has not been implemented yet, disable CONFIG_CLOCK_CONTROL.
BUG=none
BRANCH=none
TEST=zmake build it8xxx2_evb --clobber
zmake build krabby --clobber
zmake build nereid --clobber
Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
Change-Id: I3c4b7dc559ef62fc9c32d83d1e949f7417d92bbf
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3745104
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
-rw-r--r-- | zephyr/boards/riscv/it8xxx2/it8xxx2_defconfig | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/zephyr/boards/riscv/it8xxx2/it8xxx2_defconfig b/zephyr/boards/riscv/it8xxx2/it8xxx2_defconfig index 740910d5ab..8566c9cb5c 100644 --- a/zephyr/boards/riscv/it8xxx2/it8xxx2_defconfig +++ b/zephyr/boards/riscv/it8xxx2/it8xxx2_defconfig @@ -17,14 +17,12 @@ CONFIG_PM_POLICY_CUSTOM=y # Console CONFIG_CONSOLE=y CONFIG_UART_CONSOLE=y -CONFIG_UART_NS16550=y CONFIG_SHELL_TAB=y CONFIG_SHELL_TAB_AUTOCOMPLETION=y CONFIG_SHELL_HISTORY=y # GPIO Controller CONFIG_GPIO=y -CONFIG_GPIO_ITE_IT8XXX2=y # For IT81202, the GPIO group k/l are not brought out to pins, # so by default they can be set to pull down inputs. # However with the IT81302, they are available on pins, @@ -32,12 +30,13 @@ CONFIG_GPIO_ITE_IT8XXX2=y CONFIG_SOC_IT8XXX2_GPIO_GROUP_K_L_DEFAULT_PULL_DOWN=n # ADC Driver -CONFIG_ADC_ITE_IT8XXX2=y CONFIG_PLATFORM_EC_ADC=y CONFIG_PLATFORM_EC_ADC_RESOLUTION=10 -# Clock configuration -CONFIG_CLOCK_CONTROL=y +# Clock Controller +CONFIG_CLOCK_CONTROL=n + +# Timer configuration CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=32768 CONFIG_SYS_CLOCK_TICKS_PER_SEC=32768 @@ -46,11 +45,9 @@ CONFIG_CROS_EC_HOOK_TICK_INTERVAL=500000 # Flash CONFIG_PLATFORM_EC_CONSOLE_CMD_FLASH=y -CONFIG_SOC_FLASH_ITE_IT8XXX2=y # I2C CONFIG_I2C=y -CONFIG_I2C_ITE_IT8XXX2=y # Power Button CONFIG_PLATFORM_EC_POWER_BUTTON=y @@ -58,15 +55,11 @@ CONFIG_PLATFORM_EC_POWER_BUTTON=y # PWM CONFIG_PWM=y CONFIG_PWM_SHELL=n -CONFIG_PWM_ITE_IT8XXX2=y # Serial Drivers CONFIG_SERIAL=y CONFIG_UART_INTERRUPT_DRIVEN=y -# Timer configuration -CONFIG_ITE_IT8XXX2_TIMER=y - # WATCHDOG configuration CONFIG_WATCHDOG=y CONFIG_PLATFORM_EC_WATCHDOG_PERIOD_MS=2500 @@ -75,4 +68,3 @@ CONFIG_WDT_ITE_REDUCE_WARNING_LEADING_TIME=y # BBRAM CONFIG_BBRAM=y -CONFIG_BBRAM_IT8XXX2=y |