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 <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2024-11-07 08:31:10 +00:00 committed by Anas Nashif
commit 2f800cea8f
42 changed files with 0 additions and 71 deletions

View file

@ -7,7 +7,6 @@
if SOC_SERIES_SAMD51 if SOC_SERIES_SAMD51
config NUM_IRQS config NUM_IRQS
int
default 137 default 137
config ROM_START_OFFSET config ROM_START_OFFSET

View file

@ -4,11 +4,9 @@
if SOC_BCM2711 if SOC_BCM2711
config NUM_IRQS config NUM_IRQS
int
default 260 default 260
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 54000000 default 54000000
endif endif

View file

@ -4,11 +4,9 @@
if SOC_BCM2712 if SOC_BCM2712
config NUM_IRQS config NUM_IRQS
int
default 280 default 280
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 54000000 default 54000000
endif endif

View file

@ -6,11 +6,9 @@
if SOC_SERIES_VALKYRIE if SOC_SERIES_VALKYRIE
config NUM_IRQS config NUM_IRQS
int
default 240 default 240
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 500000000 default 500000000
endif # SOC_SERIES_VALKYRIE endif # SOC_SERIES_VALKYRIE

View file

@ -4,11 +4,9 @@
if SOC_BCM58402_A72 if SOC_BCM58402_A72
config NUM_IRQS config NUM_IRQS
int
default 260 default 260
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 25000000 default 25000000
endif endif

View file

@ -4,11 +4,9 @@
if SOC_BCM58402_M7 if SOC_BCM58402_M7
config NUM_IRQS config NUM_IRQS
int
default 240 default 240
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 500000000 default 500000000
endif endif

View file

@ -7,11 +7,9 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
default 100000000 default 100000000
config RISCV_SOC_INTERRUPT_INIT config RISCV_SOC_INTERRUPT_INIT
bool
default y default y
config NUM_IRQS config NUM_IRQS
int
default 36 default 36
config 2ND_LVL_INTR_00_OFFSET config 2ND_LVL_INTR_00_OFFSET

View file

@ -7,7 +7,6 @@ config SPARC_NWIN
default 31 default 31
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 50000000 default 50000000
if FLASH if FLASH

View file

@ -6,11 +6,9 @@ if SOC_AGILEX
# must be >= the highest interrupt number used # must be >= the highest interrupt number used
# - include the UART interrupts 173 or 204 # - include the UART interrupts 173 or 204
config NUM_IRQS config NUM_IRQS
int
default 205 default 205
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 25000000 default 25000000
config KERNEL_VM_SIZE config KERNEL_VM_SIZE

View file

@ -6,11 +6,9 @@ if SOC_AGILEX5
# must be >= the highest interrupt number used # must be >= the highest interrupt number used
# - include the UART interrupts 173 or 274 # - include the UART interrupts 173 or 274
config NUM_IRQS config NUM_IRQS
int
default 274 default 274
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 400000000 default 400000000
config KERNEL_VM_SIZE config KERNEL_VM_SIZE

View file

@ -4,11 +4,9 @@
if SOC_CYCLONEV if SOC_CYCLONEV
config NUM_IRQS config NUM_IRQS
int
default 211 default 211
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 231250000 default 231250000
endif endif

View file

@ -6,7 +6,6 @@
if SOC_NRF52820_QDAA if SOC_NRF52820_QDAA
config NUM_IRQS config NUM_IRQS
int
default 40 default 40
endif # SOC_NRF52820_QDAA endif # SOC_NRF52820_QDAA

View file

@ -6,7 +6,6 @@
if SOC_NRF52833_QDAA if SOC_NRF52833_QDAA
config NUM_IRQS config NUM_IRQS
int
default 48 default 48
endif # SOC_NRF52833_QDAA endif # SOC_NRF52833_QDAA

View file

@ -6,7 +6,6 @@
if SOC_NRF52833_QIAA if SOC_NRF52833_QIAA
config NUM_IRQS config NUM_IRQS
int
default 48 default 48
endif # SOC_NRF52833_QIAA endif # SOC_NRF52833_QIAA

View file

@ -13,11 +13,9 @@ config FLASH_BASE_ADDRESS
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)) default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH))
config NUM_IRQS config NUM_IRQS
int
default 240 default 240
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 8000000 default 8000000
config PINCTRL_IMX config PINCTRL_IMX

View file

@ -7,7 +7,6 @@
if SOC_MIMX8ML8_M7 if SOC_MIMX8ML8_M7
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 800000000 default 800000000
config GPIO config GPIO
@ -38,7 +37,6 @@ config FLASH_BASE_ADDRESS
endif # CODE_DDR endif # CODE_DDR
config NUM_IRQS config NUM_IRQS
int
# must be >= the highest interrupt number used # must be >= the highest interrupt number used
default 159 default 159

View file

@ -13,11 +13,9 @@ config FLASH_BASE_ADDRESS
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)) default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH))
config NUM_IRQS config NUM_IRQS
int
default 240 default 240
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 8000000 default 8000000
config PINCTRL_IMX config PINCTRL_IMX

View file

@ -7,7 +7,6 @@
if SOC_MIMX8MM6_M4 if SOC_MIMX8MM6_M4
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 400000000 default 400000000
config IPM_IMX config IPM_IMX
@ -15,7 +14,6 @@ config IPM_IMX
depends on IPM depends on IPM
config NUM_IRQS config NUM_IRQS
int
# must be >= the highest interrupt number used # must be >= the highest interrupt number used
default 127 default 127

View file

@ -13,11 +13,9 @@ config FLASH_BASE_ADDRESS
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)) default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH))
config NUM_IRQS config NUM_IRQS
int
default 240 default 240
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 8000000 default 8000000
config PINCTRL_IMX config PINCTRL_IMX

View file

@ -7,7 +7,6 @@
if SOC_MIMX8MQ6_M4 if SOC_MIMX8MQ6_M4
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 266000000 default 266000000
config PINCTRL_IMX config PINCTRL_IMX
@ -15,7 +14,6 @@ config PINCTRL_IMX
depends on PINCTRL depends on PINCTRL
config NUM_IRQS config NUM_IRQS
int
# must be >= the highest interrupt number used # must be >= the highest interrupt number used
default 127 default 127

View file

@ -13,11 +13,9 @@ config FLASH_BASE_ADDRESS
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)) default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH))
config NUM_IRQS config NUM_IRQS
int
default 240 default 240
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 24000000 default 24000000
config PINCTRL_IMX config PINCTRL_IMX

View file

@ -12,11 +12,9 @@ config FLASH_BASE_ADDRESS
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)) default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH))
config NUM_IRQS config NUM_IRQS
int
default 268 default 268
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 200000000 default 200000000
endif endif

View file

@ -13,11 +13,9 @@ config FLASH_BASE_ADDRESS
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)) default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH))
config NUM_IRQS config NUM_IRQS
int
default 320 default 320
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 24000000 default 24000000
endif endif

View file

@ -12,11 +12,9 @@ config FLASH_BASE_ADDRESS
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)) default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH))
config NUM_IRQS config NUM_IRQS
int
default 230 default 230
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 800000000 default 800000000
config CACHE_MANAGEMENT config CACHE_MANAGEMENT

View file

@ -95,7 +95,6 @@ if MBEDTLS
# what the ztest_thread_stack defaults to. # what the ztest_thread_stack defaults to.
# #
config TEST_EXTRA_STACK_SIZE config TEST_EXTRA_STACK_SIZE
int
default 1024 default 1024
endif # MBEDTLS endif # MBEDTLS

View file

@ -30,7 +30,6 @@ if MBEDTLS
# what the ztest_thread_stack defaults to. # what the ztest_thread_stack defaults to.
# #
config TEST_EXTRA_STACK_SIZE config TEST_EXTRA_STACK_SIZE
int
default 1024 default 1024
endif # MBEDTLS endif # MBEDTLS

View file

@ -48,7 +48,6 @@ if MBEDTLS
# what the ztest_thread_stack defaults to. # what the ztest_thread_stack defaults to.
# #
config TEST_EXTRA_STACK_SIZE config TEST_EXTRA_STACK_SIZE
int
default 1024 default 1024
endif # MBEDTLS endif # MBEDTLS

View file

@ -7,7 +7,6 @@
if SOC_LS1046A if SOC_LS1046A
config NUM_IRQS config NUM_IRQS
int
default 240 default 240
config FLASH_SIZE config FLASH_SIZE

View file

@ -7,7 +7,6 @@
if SOC_RK3399 if SOC_RK3399
config NUM_IRQS config NUM_IRQS
int
default 240 default 240
config FLASH_SIZE config FLASH_SIZE

View file

@ -11,11 +11,9 @@ config FLASH_BASE_ADDRESS
default 0 default 0
config NUM_IRQS config NUM_IRQS
int
default 240 default 240
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 24000000 default 24000000
endif endif

View file

@ -5,7 +5,6 @@
if SOC_SERIES_EFM32GG11B if SOC_SERIES_EFM32GG11B
config NUM_IRQS config NUM_IRQS
int
# must be >= the highest interrupt number used # must be >= the highest interrupt number used
default 68 default 68

View file

@ -4,7 +4,6 @@
if SOC_SERIES_EFM32GG12B if SOC_SERIES_EFM32GG12B
config NUM_IRQS config NUM_IRQS
int
# must be >= the highest interrupt number used # must be >= the highest interrupt number used
default 68 default 68

View file

@ -4,7 +4,6 @@
if SOC_SERIES_EFR32MG21 if SOC_SERIES_EFR32MG21
config NUM_IRQS config NUM_IRQS
int
# must be >= the highest interrupt number used # must be >= the highest interrupt number used
default 61 default 61

View file

@ -10,7 +10,6 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency) default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)
config NUM_IRQS config NUM_IRQS
int
# must be >= the highest interrupt number used # must be >= the highest interrupt number used
default 53 default 53

View file

@ -4,7 +4,6 @@
if SOC_QEMU_ARC if SOC_QEMU_ARC
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 10000000 default 10000000
config RGF_NUM_BANKS config RGF_NUM_BANKS

View file

@ -6,7 +6,6 @@
if SOC_STM32F105XC || SOC_STM32F105XB if SOC_STM32F105XC || SOC_STM32F105XB
config NUM_IRQS config NUM_IRQS
int
default 68 default 68
endif # SOC_STM32F105XC || STM32F105XB endif # SOC_STM32F105XC || STM32F105XB

View file

@ -6,7 +6,6 @@
if SOC_STM32L152XC if SOC_STM32L152XC
config NUM_IRQS config NUM_IRQS
int
default 57 default 57
endif # SOC_STM32L152XC endif # SOC_STM32L152XC

View file

@ -6,7 +6,6 @@
if SOC_STM32L152XE if SOC_STM32L152XE
config NUM_IRQS config NUM_IRQS
int
default 57 default 57
endif # SOC_STM32L152XE endif # SOC_STM32L152XE

View file

@ -4,38 +4,30 @@
if SOC_SERIES_TLSR951X if SOC_SERIES_TLSR951X
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 32000 default 32000
config RISCV_SOC_INTERRUPT_INIT config RISCV_SOC_INTERRUPT_INIT
bool
default y default y
config RISCV_GP config RISCV_GP
bool
default y default y
config NUM_IRQS config NUM_IRQS
int
default 64 default 64
config PINCTRL config PINCTRL
default y default y
config XIP config XIP
bool
default n default n
config MAIN_STACK_SIZE config MAIN_STACK_SIZE
int
default 2048 default 2048
config IDLE_STACK_SIZE config IDLE_STACK_SIZE
int
default 1536 default 1536
config TEST_EXTRA_STACK_SIZE config TEST_EXTRA_STACK_SIZE
int
default 1024 default 1024
config 2ND_LVL_INTR_00_OFFSET config 2ND_LVL_INTR_00_OFFSET

View file

@ -16,13 +16,11 @@ config FLASH_BASE_ADDRESS
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)) default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH))
config NUM_IRQS config NUM_IRQS
int
default 64 if SOC_SERIES_AM6X_M4 default 64 if SOC_SERIES_AM6X_M4
default 280 if SOC_SERIES_AM6X_A53 default 280 if SOC_SERIES_AM6X_A53
default 512 if SOC_SERIES_AM6X_R5 default 512 if SOC_SERIES_AM6X_R5
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 400000000 if SOC_SERIES_AM6X_M4 default 400000000 if SOC_SERIES_AM6X_M4
default 200000000 if SOC_SERIES_AM6X_A53 default 200000000 if SOC_SERIES_AM6X_A53
default 19200000 if SOC_SERIES_AM6X_R5 default 19200000 if SOC_SERIES_AM6X_R5

View file

@ -4,11 +4,9 @@
if SOC_XENVM if SOC_XENVM
config NUM_IRQS config NUM_IRQS
int
default 500 default 500
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 8320000 default 8320000
# We need at least 16M of virtual address space to map memory of Xen node # We need at least 16M of virtual address space to map memory of Xen node

View file

@ -8,7 +8,6 @@ if SOC_FAMILY_XILINX_ZYNQ7000
rsource "*/Kconfig.defconfig" rsource "*/Kconfig.defconfig"
config NUM_IRQS config NUM_IRQS
int
# must be >= the highest interrupt number used # must be >= the highest interrupt number used
default 96 default 96