Skip to content

Commit

Permalink
soc: Remove re-defining some defined types
Browse files Browse the repository at this point in the history
Removes re-defining some Kconfigs that are already defined
e.g. in arch

Signed-off-by: Jamie McCrae <[email protected]>
  • Loading branch information
nordicjm authored and nashif committed Nov 18, 2024
1 parent ed48de2 commit 2f800ce
Show file tree
Hide file tree
Showing 42 changed files with 0 additions and 71 deletions.
1 change: 0 additions & 1 deletion soc/atmel/sam0/samd51/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
if SOC_SERIES_SAMD51

config NUM_IRQS
int
default 137

config ROM_START_OFFSET
Expand Down
2 changes: 0 additions & 2 deletions soc/brcm/bcm2711/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
if SOC_BCM2711

config NUM_IRQS
int
default 260

config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 54000000

endif
2 changes: 0 additions & 2 deletions soc/brcm/bcm2712/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
if SOC_BCM2712

config NUM_IRQS
int
default 280

config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 54000000

endif
2 changes: 0 additions & 2 deletions soc/brcm/bcmvk/valkyrie/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions soc/brcm/bcmvk/viper/Kconfig.defconfig.viper_bcm58402_a72
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions soc/brcm/bcmvk/viper/Kconfig.defconfig.viper_bcm58402_m7
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions soc/efinix/sapphire/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion soc/gaisler/gr716a/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ config SPARC_NWIN
default 31

config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 50000000

if FLASH
Expand Down
2 changes: 0 additions & 2 deletions soc/intel/intel_socfpga/agilex/Kconfig.defconfig.agilex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions soc/intel/intel_socfpga/agilex5/Kconfig.defconfig.agilex5
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
if SOC_CYCLONEV

config NUM_IRQS
int
default 211

config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 231250000

endif
1 change: 0 additions & 1 deletion soc/nordic/nrf52/Kconfig.defconfig.nrf52820_QDAA
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
if SOC_NRF52820_QDAA

config NUM_IRQS
int
default 40

endif # SOC_NRF52820_QDAA
1 change: 0 additions & 1 deletion soc/nordic/nrf52/Kconfig.defconfig.nrf52833_QDAA
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
if SOC_NRF52833_QDAA

config NUM_IRQS
int
default 48

endif # SOC_NRF52833_QDAA
1 change: 0 additions & 1 deletion soc/nordic/nrf52/Kconfig.defconfig.nrf52833_QIAA
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
if SOC_NRF52833_QIAA

config NUM_IRQS
int
default 48

endif # SOC_NRF52833_QIAA
2 changes: 0 additions & 2 deletions soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8ml8_a53
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8ml8_m7
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
if SOC_MIMX8ML8_M7

config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 800000000

config GPIO
Expand Down Expand Up @@ -38,7 +37,6 @@ config FLASH_BASE_ADDRESS
endif # CODE_DDR

config NUM_IRQS
int
# must be >= the highest interrupt number used
default 159

Expand Down
2 changes: 0 additions & 2 deletions soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mm6_a53
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mm6_m4
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@
if SOC_MIMX8MM6_M4

config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 400000000

config IPM_IMX
default y
depends on IPM

config NUM_IRQS
int
# must be >= the highest interrupt number used
default 127

Expand Down
2 changes: 0 additions & 2 deletions soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mn6_a53
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions soc/nxp/imx/imx8m/Kconfig.defconfig.mimx8mq6_m4
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@
if SOC_MIMX8MQ6_M4

config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 266000000

config PINCTRL_IMX
default y if HAS_MCUX_IOMUXC
depends on PINCTRL

config NUM_IRQS
int
# must be >= the highest interrupt number used
default 127

Expand Down
2 changes: 0 additions & 2 deletions soc/nxp/imx/imx9/imx93/Kconfig.defconfig.mimx93.a55
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions soc/nxp/imx/imx9/imx93/Kconfig.defconfig.mimx93.m33
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions soc/nxp/imx/imx9/imx95/Kconfig.defconfig.mimx95.a55
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions soc/nxp/imx/imx9/imx95/Kconfig.defconfig.mimx95.m7
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion soc/nxp/imxrt/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ if MBEDTLS
# what the ztest_thread_stack defaults to.
#
config TEST_EXTRA_STACK_SIZE
int
default 1024
endif # MBEDTLS

Expand Down
1 change: 0 additions & 1 deletion soc/nxp/imxrt/imxrt5xx/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ if MBEDTLS
# what the ztest_thread_stack defaults to.
#
config TEST_EXTRA_STACK_SIZE
int
default 1024
endif # MBEDTLS

Expand Down
1 change: 0 additions & 1 deletion soc/nxp/imxrt/imxrt6xx/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ if MBEDTLS
# what the ztest_thread_stack defaults to.
#
config TEST_EXTRA_STACK_SIZE
int
default 1024
endif # MBEDTLS

Expand Down
1 change: 0 additions & 1 deletion soc/nxp/layerscape/ls1046a/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
if SOC_LS1046A

config NUM_IRQS
int
default 240

config FLASH_SIZE
Expand Down
1 change: 0 additions & 1 deletion soc/rockchip/rk3399/Kconfig.defconfig.rk3399
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
if SOC_RK3399

config NUM_IRQS
int
default 240

config FLASH_SIZE
Expand Down
2 changes: 0 additions & 2 deletions soc/rockchip/rk3568/Kconfig.defconfig.rk3568
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion soc/silabs/silabs_s1/efm32gg11b/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
if SOC_SERIES_EFM32GG11B

config NUM_IRQS
int
# must be >= the highest interrupt number used
default 68

Expand Down
1 change: 0 additions & 1 deletion soc/silabs/silabs_s1/efm32gg12b/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
if SOC_SERIES_EFM32GG12B

config NUM_IRQS
int
# must be >= the highest interrupt number used
default 68

Expand Down
1 change: 0 additions & 1 deletion soc/silabs/silabs_s2/efr32mg21/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
if SOC_SERIES_EFR32MG21

config NUM_IRQS
int
# must be >= the highest interrupt number used
default 61

Expand Down
1 change: 0 additions & 1 deletion soc/silabs/silabs_sim3/sim3u/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion soc/snps/qemu_arc/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
if SOC_QEMU_ARC

config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 10000000

config RGF_NUM_BANKS
Expand Down
1 change: 0 additions & 1 deletion soc/st/stm32/stm32f1x/Kconfig.defconfig.stm32f105xx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
if SOC_STM32F105XC || SOC_STM32F105XB

config NUM_IRQS
int
default 68

endif # SOC_STM32F105XC || STM32F105XB
1 change: 0 additions & 1 deletion soc/st/stm32/stm32l1x/Kconfig.defconfig.stm32l152xc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
if SOC_STM32L152XC

config NUM_IRQS
int
default 57

endif # SOC_STM32L152XC
1 change: 0 additions & 1 deletion soc/st/stm32/stm32l1x/Kconfig.defconfig.stm32l152xe
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
if SOC_STM32L152XE

config NUM_IRQS
int
default 57

endif # SOC_STM32L152XE
Loading

0 comments on commit 2f800ce

Please sign in to comment.