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 c37eb407f4d832..beb89ec33fd4f1 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 21776e5ef160d5..66b749fdedb68e 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 e408b20271ad7e..88db7f97b6ad77 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 5312999e21431b..1d9e0655139e2d 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 dba58d12f853b6..292c8d83a2c4df 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 16acf0d29b78d7..95a26d73acea79 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 75325b2fa55b46..62a888c0a9bca1 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 c6913964fd8062..e33e477df69eda 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 4b147ff0df3d49..b0c768c5d41691 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 44d07013704041..2950622a50b1a3 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 c127406f62836c..3c7a6c886918db 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 2db0291afad8de..045e711177d056 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 055544288e4f28..2284d03cbcd059 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 add0c89503b4f7..a3f9a64e04fd44 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 23edb44e9dd39b..a6d75083a796fc 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 b35dc400e6017a..357439979c7019 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 39ce520f5ab6c5..e6e72f91b4fc43 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 02f068af04f167..7bfa617159ec25 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 f48c3187b1951a..fd276a61e0ca0a 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 0f9e144bfdedf7..9cd67adf565cc6 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 f53cc12c0f0996..bd0d20c53b37b9 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 977b74833a54a3..c4d70534a28e1b 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 3ee33dacf219c2..603b1b826dd9c3 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 d808258ce9704f..4265f5233b4c89 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 caf637260d7c46..f0d98e83ea62e9 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 3c803947269c45..dba7c8831fb75f 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 9fb1afff72dd01..f934bd9136376b 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 f22b14b4e26c88..40ee8e44e67e4d 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 07751909f32099..9df2c38f1ccbd2 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 58cf932996f569..b59a8a29249952 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 6f57e5c23a2118..27946d0f1e9e72 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 203f56e57b7272..a2605d34b99c34 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 f7b286bd73baff..1bfda561e4ae49 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 8091a25d3615b6..67a086605c5211 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 a8a7550ef53599..9ec43504cbf5c7 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 ac031d653d1441..796cb532ff274f 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 661ce869a45b05..b817d5a3c06ce0 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 604cad7aaf5849..51197442f04210 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 7ad94f134304ef..6cd3c6a26b8168 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 3183487e2e3751..f99a578996f9f3 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 eeb2cf9aa0e49a..f0f76898426f4e 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 f675bd07f32ae9..b867109d35e535 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