From 2f800cea8fdf48f8e58add5b9ebd12aed96a6113 Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Thu, 7 Nov 2024 08:31:10 +0000 Subject: [PATCH] soc: Remove re-defining some defined types Removes re-defining some Kconfigs that are already defined e.g. in arch Signed-off-by: Jamie McCrae --- soc/atmel/sam0/samd51/Kconfig.defconfig | 1 - soc/brcm/bcm2711/Kconfig.defconfig | 2 -- soc/brcm/bcm2712/Kconfig.defconfig | 2 -- soc/brcm/bcmvk/valkyrie/Kconfig.defconfig | 2 -- soc/brcm/bcmvk/viper/Kconfig.defconfig.viper_bcm58402_a72 | 2 -- soc/brcm/bcmvk/viper/Kconfig.defconfig.viper_bcm58402_m7 | 2 -- soc/efinix/sapphire/Kconfig.defconfig | 2 -- soc/gaisler/gr716a/Kconfig.defconfig | 1 - soc/intel/intel_socfpga/agilex/Kconfig.defconfig.agilex | 2 -- soc/intel/intel_socfpga/agilex5/Kconfig.defconfig.agilex5 | 2 -- .../intel_socfpga_std/cyclonev/Kconfig.defconfig.cyclonev | 2 -- soc/nordic/nrf52/Kconfig.defconfig.nrf52820_QDAA | 1 - soc/nordic/nrf52/Kconfig.defconfig.nrf52833_QDAA | 1 - soc/nordic/nrf52/Kconfig.defconfig.nrf52833_QIAA | 1 - soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8ml8_a53 | 2 -- soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8ml8_m7 | 2 -- soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mm6_a53 | 2 -- soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mm6_m4 | 2 -- soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mn6_a53 | 2 -- soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mq6_m4 | 2 -- soc/nxp/imx/imx9/imx93/Kconfig.defconfig.mimx93.a55 | 2 -- soc/nxp/imx/imx9/imx93/Kconfig.defconfig.mimx93.m33 | 2 -- soc/nxp/imx/imx9/imx95/Kconfig.defconfig.mimx95.a55 | 2 -- soc/nxp/imx/imx9/imx95/Kconfig.defconfig.mimx95.m7 | 2 -- soc/nxp/imxrt/Kconfig.defconfig | 1 - soc/nxp/imxrt/imxrt5xx/Kconfig.defconfig | 1 - soc/nxp/imxrt/imxrt6xx/Kconfig.defconfig | 1 - soc/nxp/layerscape/ls1046a/Kconfig.defconfig | 1 - soc/rockchip/rk3399/Kconfig.defconfig.rk3399 | 1 - soc/rockchip/rk3568/Kconfig.defconfig.rk3568 | 2 -- soc/silabs/silabs_s1/efm32gg11b/Kconfig.defconfig | 1 - soc/silabs/silabs_s1/efm32gg12b/Kconfig.defconfig | 1 - soc/silabs/silabs_s2/efr32mg21/Kconfig.defconfig | 1 - soc/silabs/silabs_sim3/sim3u/Kconfig.defconfig | 1 - soc/snps/qemu_arc/Kconfig.defconfig | 1 - soc/st/stm32/stm32f1x/Kconfig.defconfig.stm32f105xx | 1 - soc/st/stm32/stm32l1x/Kconfig.defconfig.stm32l152xc | 1 - soc/st/stm32/stm32l1x/Kconfig.defconfig.stm32l152xe | 1 - soc/telink/tlsr/tlsr951x/Kconfig.defconfig | 8 -------- soc/ti/k3/am6x/Kconfig.defconfig | 2 -- soc/xen/Kconfig.defconfig | 2 -- soc/xlnx/zynq7000/Kconfig.defconfig | 1 - 42 files changed, 71 deletions(-) diff --git a/soc/atmel/sam0/samd51/Kconfig.defconfig b/soc/atmel/sam0/samd51/Kconfig.defconfig index c37eb407f4d8..beb89ec33fd4 100644 --- a/soc/atmel/sam0/samd51/Kconfig.defconfig +++ b/soc/atmel/sam0/samd51/Kconfig.defconfig @@ -7,7 +7,6 @@ if SOC_SERIES_SAMD51 config NUM_IRQS - int default 137 config ROM_START_OFFSET diff --git a/soc/brcm/bcm2711/Kconfig.defconfig b/soc/brcm/bcm2711/Kconfig.defconfig index 21776e5ef160..66b749fdedb6 100644 --- a/soc/brcm/bcm2711/Kconfig.defconfig +++ b/soc/brcm/bcm2711/Kconfig.defconfig @@ -4,11 +4,9 @@ if SOC_BCM2711 config NUM_IRQS - int default 260 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 54000000 endif diff --git a/soc/brcm/bcm2712/Kconfig.defconfig b/soc/brcm/bcm2712/Kconfig.defconfig index e408b20271ad..88db7f97b6ad 100644 --- a/soc/brcm/bcm2712/Kconfig.defconfig +++ b/soc/brcm/bcm2712/Kconfig.defconfig @@ -4,11 +4,9 @@ if SOC_BCM2712 config NUM_IRQS - int default 280 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 54000000 endif diff --git a/soc/brcm/bcmvk/valkyrie/Kconfig.defconfig b/soc/brcm/bcmvk/valkyrie/Kconfig.defconfig index 5312999e2143..1d9e0655139e 100644 --- a/soc/brcm/bcmvk/valkyrie/Kconfig.defconfig +++ b/soc/brcm/bcmvk/valkyrie/Kconfig.defconfig @@ -6,11 +6,9 @@ if SOC_SERIES_VALKYRIE config NUM_IRQS - int default 240 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 500000000 endif # SOC_SERIES_VALKYRIE diff --git a/soc/brcm/bcmvk/viper/Kconfig.defconfig.viper_bcm58402_a72 b/soc/brcm/bcmvk/viper/Kconfig.defconfig.viper_bcm58402_a72 index dba58d12f853..292c8d83a2c4 100644 --- a/soc/brcm/bcmvk/viper/Kconfig.defconfig.viper_bcm58402_a72 +++ b/soc/brcm/bcmvk/viper/Kconfig.defconfig.viper_bcm58402_a72 @@ -4,11 +4,9 @@ if SOC_BCM58402_A72 config NUM_IRQS - int default 260 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 25000000 endif diff --git a/soc/brcm/bcmvk/viper/Kconfig.defconfig.viper_bcm58402_m7 b/soc/brcm/bcmvk/viper/Kconfig.defconfig.viper_bcm58402_m7 index 16acf0d29b78..95a26d73acea 100644 --- a/soc/brcm/bcmvk/viper/Kconfig.defconfig.viper_bcm58402_m7 +++ b/soc/brcm/bcmvk/viper/Kconfig.defconfig.viper_bcm58402_m7 @@ -4,11 +4,9 @@ if SOC_BCM58402_M7 config NUM_IRQS - int default 240 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 500000000 endif diff --git a/soc/efinix/sapphire/Kconfig.defconfig b/soc/efinix/sapphire/Kconfig.defconfig index 75325b2fa55b..62a888c0a9bc 100644 --- a/soc/efinix/sapphire/Kconfig.defconfig +++ b/soc/efinix/sapphire/Kconfig.defconfig @@ -7,11 +7,9 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC default 100000000 config RISCV_SOC_INTERRUPT_INIT - bool default y config NUM_IRQS - int default 36 config 2ND_LVL_INTR_00_OFFSET diff --git a/soc/gaisler/gr716a/Kconfig.defconfig b/soc/gaisler/gr716a/Kconfig.defconfig index c6913964fd80..e33e477df69e 100644 --- a/soc/gaisler/gr716a/Kconfig.defconfig +++ b/soc/gaisler/gr716a/Kconfig.defconfig @@ -7,7 +7,6 @@ config SPARC_NWIN default 31 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 50000000 if FLASH diff --git a/soc/intel/intel_socfpga/agilex/Kconfig.defconfig.agilex b/soc/intel/intel_socfpga/agilex/Kconfig.defconfig.agilex index 4b147ff0df3d..b0c768c5d416 100644 --- a/soc/intel/intel_socfpga/agilex/Kconfig.defconfig.agilex +++ b/soc/intel/intel_socfpga/agilex/Kconfig.defconfig.agilex @@ -6,11 +6,9 @@ if SOC_AGILEX # must be >= the highest interrupt number used # - include the UART interrupts 173 or 204 config NUM_IRQS - int default 205 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 25000000 config KERNEL_VM_SIZE diff --git a/soc/intel/intel_socfpga/agilex5/Kconfig.defconfig.agilex5 b/soc/intel/intel_socfpga/agilex5/Kconfig.defconfig.agilex5 index 44d070137040..2950622a50b1 100644 --- a/soc/intel/intel_socfpga/agilex5/Kconfig.defconfig.agilex5 +++ b/soc/intel/intel_socfpga/agilex5/Kconfig.defconfig.agilex5 @@ -6,11 +6,9 @@ if SOC_AGILEX5 # must be >= the highest interrupt number used # - include the UART interrupts 173 or 274 config NUM_IRQS - int default 274 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 400000000 config KERNEL_VM_SIZE diff --git a/soc/intel/intel_socfpga_std/cyclonev/Kconfig.defconfig.cyclonev b/soc/intel/intel_socfpga_std/cyclonev/Kconfig.defconfig.cyclonev index c127406f6283..3c7a6c886918 100644 --- a/soc/intel/intel_socfpga_std/cyclonev/Kconfig.defconfig.cyclonev +++ b/soc/intel/intel_socfpga_std/cyclonev/Kconfig.defconfig.cyclonev @@ -4,11 +4,9 @@ if SOC_CYCLONEV config NUM_IRQS - int default 211 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 231250000 endif diff --git a/soc/nordic/nrf52/Kconfig.defconfig.nrf52820_QDAA b/soc/nordic/nrf52/Kconfig.defconfig.nrf52820_QDAA index 2db0291afad8..045e711177d0 100644 --- a/soc/nordic/nrf52/Kconfig.defconfig.nrf52820_QDAA +++ b/soc/nordic/nrf52/Kconfig.defconfig.nrf52820_QDAA @@ -6,7 +6,6 @@ if SOC_NRF52820_QDAA config NUM_IRQS - int default 40 endif # SOC_NRF52820_QDAA diff --git a/soc/nordic/nrf52/Kconfig.defconfig.nrf52833_QDAA b/soc/nordic/nrf52/Kconfig.defconfig.nrf52833_QDAA index 055544288e4f..2284d03cbcd0 100644 --- a/soc/nordic/nrf52/Kconfig.defconfig.nrf52833_QDAA +++ b/soc/nordic/nrf52/Kconfig.defconfig.nrf52833_QDAA @@ -6,7 +6,6 @@ if SOC_NRF52833_QDAA config NUM_IRQS - int default 48 endif # SOC_NRF52833_QDAA diff --git a/soc/nordic/nrf52/Kconfig.defconfig.nrf52833_QIAA b/soc/nordic/nrf52/Kconfig.defconfig.nrf52833_QIAA index add0c89503b4..a3f9a64e04fd 100644 --- a/soc/nordic/nrf52/Kconfig.defconfig.nrf52833_QIAA +++ b/soc/nordic/nrf52/Kconfig.defconfig.nrf52833_QIAA @@ -6,7 +6,6 @@ if SOC_NRF52833_QIAA config NUM_IRQS - int default 48 endif # SOC_NRF52833_QIAA diff --git a/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8ml8_a53 b/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8ml8_a53 index 23edb44e9dd3..a6d75083a796 100644 --- a/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8ml8_a53 +++ b/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8ml8_a53 @@ -13,11 +13,9 @@ config FLASH_BASE_ADDRESS default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)) config NUM_IRQS - int default 240 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 8000000 config PINCTRL_IMX diff --git a/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8ml8_m7 b/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8ml8_m7 index b35dc400e601..357439979c70 100644 --- a/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8ml8_m7 +++ b/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8ml8_m7 @@ -7,7 +7,6 @@ if SOC_MIMX8ML8_M7 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 800000000 config GPIO @@ -38,7 +37,6 @@ config FLASH_BASE_ADDRESS endif # CODE_DDR config NUM_IRQS - int # must be >= the highest interrupt number used default 159 diff --git a/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mm6_a53 b/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mm6_a53 index 39ce520f5ab6..e6e72f91b4fc 100644 --- a/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mm6_a53 +++ b/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mm6_a53 @@ -13,11 +13,9 @@ config FLASH_BASE_ADDRESS default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)) config NUM_IRQS - int default 240 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 8000000 config PINCTRL_IMX diff --git a/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mm6_m4 b/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mm6_m4 index 02f068af04f1..7bfa617159ec 100644 --- a/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mm6_m4 +++ b/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mm6_m4 @@ -7,7 +7,6 @@ if SOC_MIMX8MM6_M4 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 400000000 config IPM_IMX @@ -15,7 +14,6 @@ config IPM_IMX depends on IPM config NUM_IRQS - int # must be >= the highest interrupt number used default 127 diff --git a/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mn6_a53 b/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mn6_a53 index f48c3187b195..fd276a61e0ca 100644 --- a/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mn6_a53 +++ b/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mn6_a53 @@ -13,11 +13,9 @@ config FLASH_BASE_ADDRESS default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)) config NUM_IRQS - int default 240 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 8000000 config PINCTRL_IMX diff --git a/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mq6_m4 b/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mq6_m4 index 0f9e144bfded..9cd67adf565c 100644 --- a/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mq6_m4 +++ b/soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mq6_m4 @@ -7,7 +7,6 @@ if SOC_MIMX8MQ6_M4 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 266000000 config PINCTRL_IMX @@ -15,7 +14,6 @@ config PINCTRL_IMX depends on PINCTRL config NUM_IRQS - int # must be >= the highest interrupt number used default 127 diff --git a/soc/nxp/imx/imx9/imx93/Kconfig.defconfig.mimx93.a55 b/soc/nxp/imx/imx9/imx93/Kconfig.defconfig.mimx93.a55 index f53cc12c0f09..bd0d20c53b37 100644 --- a/soc/nxp/imx/imx9/imx93/Kconfig.defconfig.mimx93.a55 +++ b/soc/nxp/imx/imx9/imx93/Kconfig.defconfig.mimx93.a55 @@ -13,11 +13,9 @@ config FLASH_BASE_ADDRESS default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)) config NUM_IRQS - int default 240 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 24000000 config PINCTRL_IMX diff --git a/soc/nxp/imx/imx9/imx93/Kconfig.defconfig.mimx93.m33 b/soc/nxp/imx/imx9/imx93/Kconfig.defconfig.mimx93.m33 index 977b74833a54..c4d70534a28e 100644 --- a/soc/nxp/imx/imx9/imx93/Kconfig.defconfig.mimx93.m33 +++ b/soc/nxp/imx/imx9/imx93/Kconfig.defconfig.mimx93.m33 @@ -12,11 +12,9 @@ config FLASH_BASE_ADDRESS default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)) config NUM_IRQS - int default 268 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 200000000 endif diff --git a/soc/nxp/imx/imx9/imx95/Kconfig.defconfig.mimx95.a55 b/soc/nxp/imx/imx9/imx95/Kconfig.defconfig.mimx95.a55 index 3ee33dacf219..603b1b826dd9 100644 --- a/soc/nxp/imx/imx9/imx95/Kconfig.defconfig.mimx95.a55 +++ b/soc/nxp/imx/imx9/imx95/Kconfig.defconfig.mimx95.a55 @@ -13,11 +13,9 @@ config FLASH_BASE_ADDRESS default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)) config NUM_IRQS - int default 320 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 24000000 endif diff --git a/soc/nxp/imx/imx9/imx95/Kconfig.defconfig.mimx95.m7 b/soc/nxp/imx/imx9/imx95/Kconfig.defconfig.mimx95.m7 index d808258ce970..4265f5233b4c 100644 --- a/soc/nxp/imx/imx9/imx95/Kconfig.defconfig.mimx95.m7 +++ b/soc/nxp/imx/imx9/imx95/Kconfig.defconfig.mimx95.m7 @@ -12,11 +12,9 @@ config FLASH_BASE_ADDRESS default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)) config NUM_IRQS - int default 230 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 800000000 config CACHE_MANAGEMENT diff --git a/soc/nxp/imxrt/Kconfig.defconfig b/soc/nxp/imxrt/Kconfig.defconfig index caf637260d7c..f0d98e83ea62 100644 --- a/soc/nxp/imxrt/Kconfig.defconfig +++ b/soc/nxp/imxrt/Kconfig.defconfig @@ -95,7 +95,6 @@ if MBEDTLS # what the ztest_thread_stack defaults to. # config TEST_EXTRA_STACK_SIZE - int default 1024 endif # MBEDTLS diff --git a/soc/nxp/imxrt/imxrt5xx/Kconfig.defconfig b/soc/nxp/imxrt/imxrt5xx/Kconfig.defconfig index 3c803947269c..dba7c8831fb7 100644 --- a/soc/nxp/imxrt/imxrt5xx/Kconfig.defconfig +++ b/soc/nxp/imxrt/imxrt5xx/Kconfig.defconfig @@ -30,7 +30,6 @@ if MBEDTLS # what the ztest_thread_stack defaults to. # config TEST_EXTRA_STACK_SIZE - int default 1024 endif # MBEDTLS diff --git a/soc/nxp/imxrt/imxrt6xx/Kconfig.defconfig b/soc/nxp/imxrt/imxrt6xx/Kconfig.defconfig index 9fb1afff72dd..f934bd913637 100644 --- a/soc/nxp/imxrt/imxrt6xx/Kconfig.defconfig +++ b/soc/nxp/imxrt/imxrt6xx/Kconfig.defconfig @@ -48,7 +48,6 @@ if MBEDTLS # what the ztest_thread_stack defaults to. # config TEST_EXTRA_STACK_SIZE - int default 1024 endif # MBEDTLS diff --git a/soc/nxp/layerscape/ls1046a/Kconfig.defconfig b/soc/nxp/layerscape/ls1046a/Kconfig.defconfig index f22b14b4e26c..40ee8e44e67e 100644 --- a/soc/nxp/layerscape/ls1046a/Kconfig.defconfig +++ b/soc/nxp/layerscape/ls1046a/Kconfig.defconfig @@ -7,7 +7,6 @@ if SOC_LS1046A config NUM_IRQS - int default 240 config FLASH_SIZE diff --git a/soc/rockchip/rk3399/Kconfig.defconfig.rk3399 b/soc/rockchip/rk3399/Kconfig.defconfig.rk3399 index 07751909f320..9df2c38f1ccb 100644 --- a/soc/rockchip/rk3399/Kconfig.defconfig.rk3399 +++ b/soc/rockchip/rk3399/Kconfig.defconfig.rk3399 @@ -7,7 +7,6 @@ if SOC_RK3399 config NUM_IRQS - int default 240 config FLASH_SIZE diff --git a/soc/rockchip/rk3568/Kconfig.defconfig.rk3568 b/soc/rockchip/rk3568/Kconfig.defconfig.rk3568 index 58cf932996f5..b59a8a292499 100644 --- a/soc/rockchip/rk3568/Kconfig.defconfig.rk3568 +++ b/soc/rockchip/rk3568/Kconfig.defconfig.rk3568 @@ -11,11 +11,9 @@ config FLASH_BASE_ADDRESS default 0 config NUM_IRQS - int default 240 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 24000000 endif diff --git a/soc/silabs/silabs_s1/efm32gg11b/Kconfig.defconfig b/soc/silabs/silabs_s1/efm32gg11b/Kconfig.defconfig index 6f57e5c23a21..27946d0f1e9e 100644 --- a/soc/silabs/silabs_s1/efm32gg11b/Kconfig.defconfig +++ b/soc/silabs/silabs_s1/efm32gg11b/Kconfig.defconfig @@ -5,7 +5,6 @@ if SOC_SERIES_EFM32GG11B config NUM_IRQS - int # must be >= the highest interrupt number used default 68 diff --git a/soc/silabs/silabs_s1/efm32gg12b/Kconfig.defconfig b/soc/silabs/silabs_s1/efm32gg12b/Kconfig.defconfig index 203f56e57b72..a2605d34b99c 100644 --- a/soc/silabs/silabs_s1/efm32gg12b/Kconfig.defconfig +++ b/soc/silabs/silabs_s1/efm32gg12b/Kconfig.defconfig @@ -4,7 +4,6 @@ if SOC_SERIES_EFM32GG12B config NUM_IRQS - int # must be >= the highest interrupt number used default 68 diff --git a/soc/silabs/silabs_s2/efr32mg21/Kconfig.defconfig b/soc/silabs/silabs_s2/efr32mg21/Kconfig.defconfig index f7b286bd73ba..1bfda561e4ae 100644 --- a/soc/silabs/silabs_s2/efr32mg21/Kconfig.defconfig +++ b/soc/silabs/silabs_s2/efr32mg21/Kconfig.defconfig @@ -4,7 +4,6 @@ if SOC_SERIES_EFR32MG21 config NUM_IRQS - int # must be >= the highest interrupt number used default 61 diff --git a/soc/silabs/silabs_sim3/sim3u/Kconfig.defconfig b/soc/silabs/silabs_sim3/sim3u/Kconfig.defconfig index 8091a25d3615..67a086605c52 100644 --- a/soc/silabs/silabs_sim3/sim3u/Kconfig.defconfig +++ b/soc/silabs/silabs_sim3/sim3u/Kconfig.defconfig @@ -10,7 +10,6 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency) config NUM_IRQS - int # must be >= the highest interrupt number used default 53 diff --git a/soc/snps/qemu_arc/Kconfig.defconfig b/soc/snps/qemu_arc/Kconfig.defconfig index a8a7550ef535..9ec43504cbf5 100644 --- a/soc/snps/qemu_arc/Kconfig.defconfig +++ b/soc/snps/qemu_arc/Kconfig.defconfig @@ -4,7 +4,6 @@ if SOC_QEMU_ARC config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 10000000 config RGF_NUM_BANKS diff --git a/soc/st/stm32/stm32f1x/Kconfig.defconfig.stm32f105xx b/soc/st/stm32/stm32f1x/Kconfig.defconfig.stm32f105xx index ac031d653d14..796cb532ff27 100644 --- a/soc/st/stm32/stm32f1x/Kconfig.defconfig.stm32f105xx +++ b/soc/st/stm32/stm32f1x/Kconfig.defconfig.stm32f105xx @@ -6,7 +6,6 @@ if SOC_STM32F105XC || SOC_STM32F105XB config NUM_IRQS - int default 68 endif # SOC_STM32F105XC || STM32F105XB diff --git a/soc/st/stm32/stm32l1x/Kconfig.defconfig.stm32l152xc b/soc/st/stm32/stm32l1x/Kconfig.defconfig.stm32l152xc index 661ce869a45b..b817d5a3c06c 100644 --- a/soc/st/stm32/stm32l1x/Kconfig.defconfig.stm32l152xc +++ b/soc/st/stm32/stm32l1x/Kconfig.defconfig.stm32l152xc @@ -6,7 +6,6 @@ if SOC_STM32L152XC config NUM_IRQS - int default 57 endif # SOC_STM32L152XC diff --git a/soc/st/stm32/stm32l1x/Kconfig.defconfig.stm32l152xe b/soc/st/stm32/stm32l1x/Kconfig.defconfig.stm32l152xe index 604cad7aaf58..51197442f042 100644 --- a/soc/st/stm32/stm32l1x/Kconfig.defconfig.stm32l152xe +++ b/soc/st/stm32/stm32l1x/Kconfig.defconfig.stm32l152xe @@ -6,7 +6,6 @@ if SOC_STM32L152XE config NUM_IRQS - int default 57 endif # SOC_STM32L152XE diff --git a/soc/telink/tlsr/tlsr951x/Kconfig.defconfig b/soc/telink/tlsr/tlsr951x/Kconfig.defconfig index 7ad94f134304..6cd3c6a26b81 100644 --- a/soc/telink/tlsr/tlsr951x/Kconfig.defconfig +++ b/soc/telink/tlsr/tlsr951x/Kconfig.defconfig @@ -4,38 +4,30 @@ if SOC_SERIES_TLSR951X config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 32000 config RISCV_SOC_INTERRUPT_INIT - bool default y config RISCV_GP - bool default y config NUM_IRQS - int default 64 config PINCTRL default y config XIP - bool default n config MAIN_STACK_SIZE - int default 2048 config IDLE_STACK_SIZE - int default 1536 config TEST_EXTRA_STACK_SIZE - int default 1024 config 2ND_LVL_INTR_00_OFFSET diff --git a/soc/ti/k3/am6x/Kconfig.defconfig b/soc/ti/k3/am6x/Kconfig.defconfig index 3183487e2e37..f99a578996f9 100644 --- a/soc/ti/k3/am6x/Kconfig.defconfig +++ b/soc/ti/k3/am6x/Kconfig.defconfig @@ -16,13 +16,11 @@ config FLASH_BASE_ADDRESS default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)) config NUM_IRQS - int default 64 if SOC_SERIES_AM6X_M4 default 280 if SOC_SERIES_AM6X_A53 default 512 if SOC_SERIES_AM6X_R5 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 400000000 if SOC_SERIES_AM6X_M4 default 200000000 if SOC_SERIES_AM6X_A53 default 19200000 if SOC_SERIES_AM6X_R5 diff --git a/soc/xen/Kconfig.defconfig b/soc/xen/Kconfig.defconfig index eeb2cf9aa0e4..f0f76898426f 100644 --- a/soc/xen/Kconfig.defconfig +++ b/soc/xen/Kconfig.defconfig @@ -4,11 +4,9 @@ if SOC_XENVM config NUM_IRQS - int default 500 config SYS_CLOCK_HW_CYCLES_PER_SEC - int default 8320000 # We need at least 16M of virtual address space to map memory of Xen node diff --git a/soc/xlnx/zynq7000/Kconfig.defconfig b/soc/xlnx/zynq7000/Kconfig.defconfig index f675bd07f32a..b867109d35e5 100644 --- a/soc/xlnx/zynq7000/Kconfig.defconfig +++ b/soc/xlnx/zynq7000/Kconfig.defconfig @@ -8,7 +8,6 @@ if SOC_FAMILY_XILINX_ZYNQ7000 rsource "*/Kconfig.defconfig" config NUM_IRQS - int # must be >= the highest interrupt number used default 96