From dc44966f02acc426684c0fbfbfe28c508ed494d2 Mon Sep 17 00:00:00 2001 From: Tim Lin Date: Thu, 9 May 2024 15:40:19 +0800 Subject: [PATCH] ITE: soc: Kconfig: Cleanup it8xxx2 Kconfig The ILM_MAX_SIZE of different chip variants can be declared in the Kconfig of the respective variant. Signed-off-by: Tim Lin --- soc/ite/ec/it8xxx2/Kconfig | 1 - soc/ite/ec/it8xxx2/Kconfig.defconfig.it81202cx | 3 +++ soc/ite/ec/it8xxx2/Kconfig.defconfig.it81302cx | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/soc/ite/ec/it8xxx2/Kconfig b/soc/ite/ec/it8xxx2/Kconfig index 5043f1fa3b2..0e7e4751b5e 100644 --- a/soc/ite/ec/it8xxx2/Kconfig +++ b/soc/ite/ec/it8xxx2/Kconfig @@ -193,7 +193,6 @@ config SOC_IT8XXX2_FLASH_SIZE_BYTES config ILM_MAX_SIZE int "ILM Size in kB" - default 60 if SOC_IT81202CX || SOC_IT81302CX default SRAM_SIZE endif # SOC_SERIES_IT8XXX2 diff --git a/soc/ite/ec/it8xxx2/Kconfig.defconfig.it81202cx b/soc/ite/ec/it8xxx2/Kconfig.defconfig.it81202cx index 91f992f076e..abbeecd53d6 100644 --- a/soc/ite/ec/it8xxx2/Kconfig.defconfig.it81202cx +++ b/soc/ite/ec/it8xxx2/Kconfig.defconfig.it81202cx @@ -3,6 +3,9 @@ if SOC_IT81202CX +config ILM_MAX_SIZE + default 60 + config SOC_IT8XXX2_GPIO_GROUP_K_L_DEFAULT_PULL_DOWN default y diff --git a/soc/ite/ec/it8xxx2/Kconfig.defconfig.it81302cx b/soc/ite/ec/it8xxx2/Kconfig.defconfig.it81302cx index 85e1a212f6a..c6d9608490d 100644 --- a/soc/ite/ec/it8xxx2/Kconfig.defconfig.it81302cx +++ b/soc/ite/ec/it8xxx2/Kconfig.defconfig.it81302cx @@ -3,6 +3,9 @@ if SOC_IT81302CX +config ILM_MAX_SIZE + default 60 + config SOC_IT8XXX2_GPIO_GROUP_K_L_DEFAULT_PULL_DOWN default n