arm/riscv: kconfig: Remove type from NUM_IRQS in defconfig files
Add a common definition for NUM_IRQS in arch/arm/core/Kconfig and arch/riscv/Kconfig. That way, the type doesn't have to be given for NUM_IRQS in all the Kconfig.defconfig files. Trying to get rid of unnecessary "full" symbol definitions in Kconfig.defconfig files, to make the organization clearer. It can also help with finding unused symbols. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
873d1ed14a
commit
a02c333963
102 changed files with 8 additions and 102 deletions
|
@ -12,7 +12,6 @@ config SOC
|
|||
default "stm32f030x6"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 29
|
||||
|
||||
endif # SOC_STM32F030X4
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f030x8"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 29
|
||||
|
||||
endif # SOC_STM32F030X8
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f051x8"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 31
|
||||
|
||||
endif # SOC_STM32F051X8
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f070xb"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 32
|
||||
|
||||
endif # SOC_STM32F070XB
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f072xb"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 32
|
||||
|
||||
endif # SOC_STM32F072XB
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f091xc"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 31
|
||||
|
||||
endif # SOC_STM32F091XC
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f103xb"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 43
|
||||
|
||||
if GPIO_STM32
|
||||
|
@ -29,7 +28,6 @@ config SOC
|
|||
default "stm32f103xe"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 60
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f107xc"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 68
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "STM32F207xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 81
|
||||
|
||||
endif
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f302x8"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 82
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f303xc"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 82
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f334x8"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 82
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f373xc"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 82
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f401xc"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 85
|
||||
|
||||
endif # SOC_STM32F401XC
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f401xe"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 85
|
||||
|
||||
endif # SOC_STM32F401XE
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f405xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 82
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f407xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 82
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f411xe"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 86
|
||||
|
||||
endif # SOC_STM32F411XE
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f412cx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 97
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f412zx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 97
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f413xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 102
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f415xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 82
|
||||
|
||||
endif # SOC_STM32F415XX
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f417xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 82
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f429xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 91
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f437xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 91
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f446xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 97
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f469xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 93
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32f723xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 104
|
||||
|
||||
endif # SOC_STM32F723XX
|
||||
|
|
|
@ -21,7 +21,6 @@ config GPIO_STM32_PORTK
|
|||
endif # GPIO_STM32
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 98
|
||||
|
||||
endif # SOC_STM32F746XX
|
||||
|
|
|
@ -21,7 +21,6 @@ config GPIO_STM32_PORTK
|
|||
endif # GPIO_STM32
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 98
|
||||
|
||||
endif # SOC_STM32F756XX
|
||||
|
|
|
@ -21,7 +21,6 @@ config GPIO_STM32_PORTK
|
|||
endif # GPIO_STM32
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 110
|
||||
|
||||
endif # SOC_STM32F769XX
|
||||
|
|
|
@ -12,7 +12,6 @@ config SOC
|
|||
default "stm32g071xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 32
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32g431xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 102
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32h747xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 150
|
||||
|
||||
endif # SOC_STM32H747XX
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32l053xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 32
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32l072xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 32
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32l073xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 32
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32l151x8a"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 45
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32l151xb"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 45
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32l151xba"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 45
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -12,7 +12,6 @@ config SOC
|
|||
default "stm32l432xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 83
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32l433xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 83
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32l452xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 85
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32l471xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 82
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32l475xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 82
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -12,7 +12,6 @@ config SOC
|
|||
default "stm32l476xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 82
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -13,7 +13,6 @@ config SOC
|
|||
default "stm32l496xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 91
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32l4r5xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 95
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32l4r9xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 95
|
||||
|
||||
if GPIO_STM32
|
||||
|
|
|
@ -11,6 +11,6 @@ config SOC
|
|||
default "stm32mp157cxx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 150
|
||||
|
||||
endif # SOC_STM32MP15_M4
|
||||
|
|
|
@ -11,7 +11,6 @@ config SOC
|
|||
default "stm32wb55xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 63
|
||||
|
||||
endif # SOC_STM32WB55XX
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue