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:
Ulf Magnusson 2019-10-25 12:01:04 +02:00 committed by Kumar Gala
commit a02c333963
102 changed files with 8 additions and 102 deletions

View file

@ -12,7 +12,6 @@ config SOC
default "stm32l432xx"
config NUM_IRQS
int
default 83
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "stm32l433xx"
config NUM_IRQS
int
default 83
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "stm32l452xx"
config NUM_IRQS
int
default 85
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "stm32l471xx"
config NUM_IRQS
int
default 82
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "stm32l475xx"
config NUM_IRQS
int
default 82
if GPIO_STM32

View file

@ -12,7 +12,6 @@ config SOC
default "stm32l476xx"
config NUM_IRQS
int
default 82
if GPIO_STM32

View file

@ -13,7 +13,6 @@ config SOC
default "stm32l496xx"
config NUM_IRQS
int
default 91
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "stm32l4r5xx"
config NUM_IRQS
int
default 95
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "stm32l4r9xx"
config NUM_IRQS
int
default 95
if GPIO_STM32