ITE: soc: Kconfig: Remove underscore makes config names consistent

Remove underscore makes config name consistent.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
This commit is contained in:
Tim Lin 2024-04-21 15:40:22 +08:00 committed by Alberto Escolar
parent 6158031f78
commit 3a9b253491
13 changed files with 41 additions and 41 deletions

View file

@ -2,4 +2,4 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_IT82XX2_EVB
select SOC_IT82202_AX
select SOC_IT82202AX

View file

@ -2,4 +2,4 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_IT8XXX2_EVB
select SOC_IT81302_BX
select SOC_IT81302BX

View file

@ -1,11 +1,11 @@
# Copyright (c) 2020 ITE Corporation. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
config SOC_SERIES_ITE_IT8XXX2
config SOC_SERIES_IT8XXX2
select CPU_HAS_FPU if "$(ZEPHYR_TOOLCHAIN_VARIANT)" != "zephyr" || RISCV_ISA_EXT_M
select HAS_PM
if SOC_SERIES_ITE_IT8XXX2
if SOC_SERIES_IT8XXX2
config SOC_IT8XXX2
select RISCV
@ -15,7 +15,7 @@ config SOC_IT8XXX2
select RISCV_ISA_EXT_ZIFENCEI
# Workaround mul instruction bug, see:
# https://www.ite.com.tw/uploads/product_download/it81202-bx-chip-errata.pdf
select RISCV_ISA_EXT_M if !(SOC_IT81302_BX || SOC_IT81202_BX)
select RISCV_ISA_EXT_M if !(SOC_IT81302BX || SOC_IT81202BX)
select RISCV_ISA_EXT_A
select RISCV_ISA_EXT_C
@ -43,33 +43,33 @@ config SOC_IT8XXX2_USBPD_PHY_V2
This option is automatically selected by variant soc and sets
the USBPD PHY version.
config SOC_IT81302_BX
config SOC_IT81302BX
select SOC_IT8XXX2_REG_SET_V1
select SOC_IT8XXX2_USBPD_PHY_V1
config SOC_IT81202_BX
config SOC_IT81202BX
select SOC_IT8XXX2_REG_SET_V1
select SOC_IT8XXX2_USBPD_PHY_V1
config SOC_IT81302_CX
config SOC_IT81302CX
select SOC_IT8XXX2_REG_SET_V1
select SOC_IT8XXX2_USBPD_PHY_V2
config SOC_IT81202_CX
config SOC_IT81202CX
select SOC_IT8XXX2_REG_SET_V1
select SOC_IT8XXX2_USBPD_PHY_V2
config SOC_IT82202_AX
config SOC_IT82202AX
select SOC_IT8XXX2_REG_SET_V2
select SOC_IT8XXX2_EC_BUS_24MHZ if !DT_HAS_ITE_IT82XX2_USB_ENABLED
select SOC_IT8XXX2_USBPD_PHY_V2
config SOC_IT82302_AX
config SOC_IT82302AX
select SOC_IT8XXX2_REG_SET_V2
select SOC_IT8XXX2_EC_BUS_24MHZ if !DT_HAS_ITE_IT82XX2_USB_ENABLED
select SOC_IT8XXX2_USBPD_PHY_V2
config SOC_IT82002_AW
config SOC_IT82002AW
select SOC_IT8XXX2_REG_SET_V2
select SOC_IT8XXX2_EC_BUS_24MHZ if !DT_HAS_ITE_IT82XX2_USB_ENABLED
select SOC_IT8XXX2_USBPD_PHY_V2
@ -183,7 +183,7 @@ config SOC_IT8XXX2_FLASH_SIZE_BYTES
config ILM_MAX_SIZE
int "ILM Size in kB"
default 60 if SOC_IT81202_CX || SOC_IT81302_CX
default 60 if SOC_IT81202CX || SOC_IT81302CX
default SRAM_SIZE
endif # SOC_SERIES_ITE_IT8XXX2
endif # SOC_SERIES_IT8XXX2

View file

@ -1,7 +1,7 @@
# Copyright (c) 2022 ITE Corporation.
# SPDX-License-Identifier: Apache-2.0
if SOC_IT81202_BX
if SOC_IT81202BX
config SOC_IT8XXX2_GPIO_GROUP_K_L_DEFAULT_PULL_DOWN
default y

View file

@ -1,7 +1,7 @@
# Copyright (c) 2022 ITE Corporation.
# SPDX-License-Identifier: Apache-2.0
if SOC_IT81202_CX
if SOC_IT81202CX
config SOC_IT8XXX2_GPIO_GROUP_K_L_DEFAULT_PULL_DOWN
default y

View file

@ -1,7 +1,7 @@
# Copyright (c) 2022 ITE Corporation.
# SPDX-License-Identifier: Apache-2.0
if SOC_IT81302_BX
if SOC_IT81302BX
config SOC_IT8XXX2_GPIO_GROUP_K_L_DEFAULT_PULL_DOWN
default n

View file

@ -1,7 +1,7 @@
# Copyright (c) 2022 ITE Corporation.
# SPDX-License-Identifier: Apache-2.0
if SOC_IT81302_CX
if SOC_IT81302CX
config SOC_IT8XXX2_GPIO_GROUP_K_L_DEFAULT_PULL_DOWN
default n

View file

@ -1,7 +1,7 @@
# Copyright (c) 2023 ITE Corporation.
# SPDX-License-Identifier: Apache-2.0
if SOC_IT82002_AW
if SOC_IT82002AW
config SOC_IT8XXX2_GPIO_GROUP_K_L_DEFAULT_PULL_DOWN
default y

View file

@ -1,7 +1,7 @@
# Copyright (c) 2023 ITE Corporation.
# SPDX-License-Identifier: Apache-2.0
if SOC_IT82202_AX
if SOC_IT82202AX
config SOC_IT8XXX2_GPIO_GROUP_K_L_DEFAULT_PULL_DOWN
default y

View file

@ -1,7 +1,7 @@
# Copyright (c) 2024 ITE Corporation.
# SPDX-License-Identifier: Apache-2.0
if SOC_IT82302_AX
if SOC_IT82302AX
config SOC_IT8XXX2_GPIO_GROUP_K_L_DEFAULT_PULL_DOWN
default n

View file

@ -1,7 +1,7 @@
# Copyright (c) 2020 ITE Corporation. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
if SOC_SERIES_ITE_IT8XXX2
if SOC_SERIES_IT8XXX2
config RISCV_GP
default y
@ -53,4 +53,4 @@ config RISCV_SOC_INTERRUPT_INIT
rsource "Kconfig.defconfig.it8*"
endif # SOC_SERIES_ITE_IT8XXX2
endif # SOC_SERIES_IT8XXX2

View file

@ -1,7 +1,7 @@
# Copyright (c) 2020 ITE Corporation. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
config SOC_SERIES_ITE_IT8XXX2
config SOC_SERIES_IT8XXX2
bool
select SOC_FAMILY_ITE_EC
help
@ -9,44 +9,44 @@ config SOC_SERIES_ITE_IT8XXX2
config SOC_IT8XXX2
bool
select SOC_SERIES_ITE_IT8XXX2
select SOC_SERIES_IT8XXX2
config SOC_IT81302_BX
config SOC_IT81302BX
bool
select SOC_IT8XXX2
config SOC_IT81202_BX
config SOC_IT81202BX
bool
select SOC_IT8XXX2
config SOC_IT81302_CX
config SOC_IT81302CX
bool
select SOC_IT8XXX2
config SOC_IT81202_CX
config SOC_IT81202CX
bool
select SOC_IT8XXX2
config SOC_IT82202_AX
config SOC_IT82202AX
bool
select SOC_IT8XXX2
config SOC_IT82302_AX
config SOC_IT82302AX
bool
select SOC_IT8XXX2
config SOC_IT82002_AW
config SOC_IT82002AW
bool
select SOC_IT8XXX2
config SOC_SERIES
default "it8xxx2" if SOC_SERIES_ITE_IT8XXX2
default "it8xxx2" if SOC_SERIES_IT8XXX2
config SOC
default "it81202bx" if SOC_IT81202_BX
default "it81202cx" if SOC_IT81202_CX
default "it81302bx" if SOC_IT81302_BX
default "it81302cx" if SOC_IT81302_CX
default "it82002aw" if SOC_IT82002_AW
default "it82202ax" if SOC_IT82202_AX
default "it82302ax" if SOC_IT82302_AX
default "it81202bx" if SOC_IT81202BX
default "it81202cx" if SOC_IT81202CX
default "it81302bx" if SOC_IT81302BX
default "it81302cx" if SOC_IT81302CX
default "it82002aw" if SOC_IT82002AW
default "it82202ax" if SOC_IT82202AX
default "it82302ax" if SOC_IT82302AX

View file

@ -176,7 +176,7 @@ static const struct ilm_config ilm_config = {
SCAR_REG(13),
SCAR_REG(14),
/*
* Except for CONFIG_SOC_IT81202_CX and CONFIG_SOC_IT81302_CX
* Except for CONFIG_SOC_IT81202CX and CONFIG_SOC_IT81302CX
* maximum ILM size are 60KB, the ILM size of other varients
* are equal to the SRAM size.
*/