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

@ -76,6 +76,9 @@ config ISA_ARM
processor start-up. Much of its functionality was subsumed into T32 with
the introduction of Thumb-2 technology.
config NUM_IRQS
int
config DATA_ENDIANNESS_LITTLE
bool
default y if CPU_CORTEX

View file

@ -92,6 +92,9 @@ config GEN_ISR_TABLES
config GEN_IRQ_VECTOR_TABLE
default n
config NUM_IRQS
int
endmenu
endmenu

View file

@ -14,7 +14,6 @@ config SOC_SERIES
default "beetle"
config NUM_IRQS
int
default 45
config SYS_CLOCK_HW_CYCLES_PER_SEC

View file

@ -10,7 +10,6 @@ config SOC
default "mps2_an385"
config NUM_IRQS
int
default 32
endif

View file

@ -10,7 +10,6 @@ config SOC
default "mps2_an521"
config NUM_IRQS
int
default 96
endif

View file

@ -10,7 +10,6 @@ config SOC
default "musca_a"
config NUM_IRQS
int
default 96
endif

View file

@ -10,7 +10,6 @@ config SOC
default "musca_b1"
config NUM_IRQS
int
default 96
endif

View file

@ -25,7 +25,6 @@ config SOC_PART_NUMBER
# generating interrupts.
#
config NUM_IRQS
int
default 45
config SYS_CLOCK_HW_CYCLES_PER_SEC

View file

@ -30,7 +30,6 @@ config SOC_PART_NUMBER
# generating interrupts.
#
config NUM_IRQS
int
default 35
config SYS_CLOCK_HW_CYCLES_PER_SEC

View file

@ -37,7 +37,6 @@ config SOC_PART_NUMBER
# are used).
#
config NUM_IRQS
int
default 74 if SOC_ATMEL_SAME70_REVB
default 71

View file

@ -30,7 +30,6 @@ config SOC_PART_NUMBER
default "samd20j18" if SOC_PART_NUMBER_SAMD20J18
config NUM_IRQS
int
default 25
config SYS_CLOCK_HW_CYCLES_PER_SEC

View file

@ -27,7 +27,6 @@ config SOC_PART_NUMBER
default "samd21j18a" if SOC_PART_NUMBER_SAMD21J18A
config NUM_IRQS
int
default 29
config SYS_CLOCK_HW_CYCLES_PER_SEC

View file

@ -20,7 +20,6 @@ config SOC_PART_NUMBER
default "samr21g18a" if SOC_PART_NUMBER_SAMR21G18A
config NUM_IRQS
int
default 28
config SYS_CLOCK_HW_CYCLES_PER_SEC

View file

@ -16,8 +16,7 @@ config SOC_PART_NUMBER
default "CY8C6247BZI_D54" if SOC_PART_NUMBER_CY8C6247BZI_D54
config NUM_IRQS
int
# must be >= the highest interrupt number used
# must be >= the highest interrupt number used
default 40
config SYS_CLOCK_HW_CYCLES_PER_SEC

View file

@ -12,7 +12,6 @@ config SOC_SERIES
default "mec1501"
config NUM_IRQS
int
# must be >= the highest interrupt number used
# - include the UART interrupts
# All NVIC external sources.

View file

@ -12,7 +12,6 @@ config SOC_SERIES
default "mec1701"
config NUM_IRQS
int
# must be >= the highest interrupt number used
# - include the UART interrupts
#for the moment 42 needs to be corrected in terms of devices added

View file

@ -14,7 +14,6 @@ config SOC_SERIES
default "nrf51"
config NUM_IRQS
int
default 26
config TEMP_NRF5

View file

@ -12,7 +12,6 @@ config SOC
default "nRF52810_QFAA"
config NUM_IRQS
int
default 30
endif # SOC_NRF52810_QFAA

View file

@ -12,7 +12,6 @@ config SOC
default "nRF52811_QFAA"
config NUM_IRQS
int
default 30
endif # SOC_NRF52811_QFAA

View file

@ -12,7 +12,6 @@ config SOC
default "nRF52832_CIAA"
config NUM_IRQS
int
default 39
endif # SOC_NRF52832_CIAA

View file

@ -12,7 +12,6 @@ config SOC
default "nRF52832_QFAA"
config NUM_IRQS
int
default 39
endif # SOC_NRF52832_QFAA

View file

@ -12,7 +12,6 @@ config SOC
default "nRF52832_QFAB"
config NUM_IRQS
int
default 39
endif # SOC_NRF52832_QFAB

View file

@ -12,7 +12,6 @@ config SOC
default "nRF52840_QIAA"
config NUM_IRQS
int
default 48
config NET_CONFIG_IEEE802154_DEV_NAME

View file

@ -12,7 +12,6 @@ config SOC
default "nRF9160_SICA"
config NUM_IRQS
int
default 65
endif # SOC_NRF9160_SICA

View file

@ -11,7 +11,6 @@ config SOC_SERIES
default "mcimx6x_m4"
config NUM_IRQS
int
# must be >= the highest interrupt number used
default 128

View file

@ -11,7 +11,6 @@ config SOC_SERIES
default "mcimx7_m4"
config NUM_IRQS
int
# must be >= the highest interrupt number used
default 127

View file

@ -13,7 +13,6 @@ config SOC_SERIES
default "k2x"
config NUM_IRQS
int
default 74
source "soc/arm/nxp_kinetis/k2x/Kconfig.defconfig.mk*"

View file

@ -12,7 +12,6 @@ config SOC_SERIES
default "k6x"
config NUM_IRQS
int
# must be >= the highest interrupt number used
default 86

View file

@ -11,7 +11,6 @@ config SOC_SERIES
default "k8x"
config NUM_IRQS
int
# must be >= the highest interrupt number used
default 106

View file

@ -11,7 +11,6 @@ config SOC_SERIES
default "ke1xf"
config NUM_IRQS
int
# must be >= the highest interrupt number used
default 91

View file

@ -11,7 +11,6 @@ config SOC
default "mkl25z4"
config NUM_IRQS
int
default 32
if ADC

View file

@ -22,7 +22,6 @@ config SOC
endif # SOC_MKW24D5
config NUM_IRQS
int
default 65
if ADC

View file

@ -11,7 +11,6 @@ config SOC
default "mkw40z4"
config NUM_IRQS
int
default 32
if ADC

View file

@ -11,7 +11,6 @@ config SOC
default "mkw41z4"
config NUM_IRQS
int
default 32
if ADC

View file

@ -11,7 +11,6 @@ config SOC_SERIES
default "lpc54xxx"
config NUM_IRQS
int
# must be >= the highest interrupt number used
default 40

View file

@ -11,7 +11,6 @@ config SOC_SERIES
default "lpc55xxx"
config NUM_IRQS
int
# must be >= the highest interrupt number used
default 60

View file

@ -15,7 +15,6 @@ config SOC_PART_NUMBER
default "EFM32HG322F64" if SOC_PART_NUMBER_EFM32HG322F64
config NUM_IRQS
int
# must be >= the highest interrupt number used
default 20

View file

@ -15,7 +15,6 @@ config SOC_PART_NUMBER
default "EFM32PG12B500F1024GL125" if SOC_PART_NUMBER_EFM32PG12B500F1024GL125
config NUM_IRQS
int
# must be >= the highest interrupt number used
default 50

View file

@ -15,7 +15,6 @@ config SOC_PART_NUMBER
default "EFM32WG990F256" if SOC_PART_NUMBER_EFM32WG990F256
config NUM_IRQS
int
# must be >= the highest interrupt number used
default 39

View file

@ -15,7 +15,6 @@ config SOC_PART_NUMBER
default "EFR32FG1P133F256GM48" if SOC_PART_NUMBER_EFR32FG1P133F256GM48
config NUM_IRQS
int
# must be >= the highest interrupt number used
default 33

View file

@ -15,7 +15,6 @@ config SOC_PART_NUMBER
default "EFR32MG12P332F1024GL125" if SOC_PART_NUMBER_EFR32MG12P332F1024GL125
config NUM_IRQS
int
# must be >= the highest interrupt number used
default 49

View file

@ -12,7 +12,6 @@ config SOC
default "stm32f030x6"
config NUM_IRQS
int
default 29
endif # SOC_STM32F030X4

View file

@ -11,7 +11,6 @@ config SOC
default "stm32f030x8"
config NUM_IRQS
int
default 29
endif # SOC_STM32F030X8

View file

@ -11,7 +11,6 @@ config SOC
default "stm32f051x8"
config NUM_IRQS
int
default 31
endif # SOC_STM32F051X8

View file

@ -11,7 +11,6 @@ config SOC
default "stm32f070xb"
config NUM_IRQS
int
default 32
endif # SOC_STM32F070XB

View file

@ -11,7 +11,6 @@ config SOC
default "stm32f072xb"
config NUM_IRQS
int
default 32
endif # SOC_STM32F072XB

View file

@ -11,7 +11,6 @@ config SOC
default "stm32f091xc"
config NUM_IRQS
int
default 31
endif # SOC_STM32F091XC

View file

@ -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

View file

@ -11,7 +11,6 @@ config SOC
default "stm32f107xc"
config NUM_IRQS
int
default 68
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "STM32F207xx"
config NUM_IRQS
int
default 81
endif

View file

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

View file

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

View file

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

View file

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

View file

@ -11,7 +11,6 @@ config SOC
default "stm32f401xc"
config NUM_IRQS
int
default 85
endif # SOC_STM32F401XC

View file

@ -11,7 +11,6 @@ config SOC
default "stm32f401xe"
config NUM_IRQS
int
default 85
endif # SOC_STM32F401XE

View file

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

View file

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

View file

@ -11,7 +11,6 @@ config SOC
default "stm32f411xe"
config NUM_IRQS
int
default 86
endif # SOC_STM32F411XE

View file

@ -11,7 +11,6 @@ config SOC
default "stm32f412cx"
config NUM_IRQS
int
default 97
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "stm32f412zx"
config NUM_IRQS
int
default 97
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "stm32f413xx"
config NUM_IRQS
int
default 102
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "stm32f415xx"
config NUM_IRQS
int
default 82
endif # SOC_STM32F415XX

View file

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

View file

@ -11,7 +11,6 @@ config SOC
default "stm32f429xx"
config NUM_IRQS
int
default 91
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "stm32f437xx"
config NUM_IRQS
int
default 91
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "stm32f446xx"
config NUM_IRQS
int
default 97
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "stm32f469xx"
config NUM_IRQS
int
default 93
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "stm32f723xx"
config NUM_IRQS
int
default 104
endif # SOC_STM32F723XX

View file

@ -21,7 +21,6 @@ config GPIO_STM32_PORTK
endif # GPIO_STM32
config NUM_IRQS
int
default 98
endif # SOC_STM32F746XX

View file

@ -21,7 +21,6 @@ config GPIO_STM32_PORTK
endif # GPIO_STM32
config NUM_IRQS
int
default 98
endif # SOC_STM32F756XX

View file

@ -21,7 +21,6 @@ config GPIO_STM32_PORTK
endif # GPIO_STM32
config NUM_IRQS
int
default 110
endif # SOC_STM32F769XX

View file

@ -12,7 +12,6 @@ config SOC
default "stm32g071xx"
config NUM_IRQS
int
default 32
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "stm32g431xx"
config NUM_IRQS
int
default 102
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "stm32h747xx"
config NUM_IRQS
int
default 150
endif # SOC_STM32H747XX

View file

@ -11,7 +11,6 @@ config SOC
default "stm32l053xx"
config NUM_IRQS
int
default 32
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "stm32l072xx"
config NUM_IRQS
int
default 32
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "stm32l073xx"
config NUM_IRQS
int
default 32
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "stm32l151x8a"
config NUM_IRQS
int
default 45
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "stm32l151xb"
config NUM_IRQS
int
default 45
if GPIO_STM32

View file

@ -11,7 +11,6 @@ config SOC
default "stm32l151xba"
config NUM_IRQS
int
default 45
if GPIO_STM32

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

View file

@ -11,6 +11,6 @@ config SOC
default "stm32mp157cxx"
config NUM_IRQS
int
default 150
endif # SOC_STM32MP15_M4

View file

@ -11,7 +11,6 @@ config SOC
default "stm32wb55xx"
config NUM_IRQS
int
default 63
endif # SOC_STM32WB55XX

View file

@ -12,7 +12,6 @@ config SOC
default "ti_lm3s6965"
config NUM_IRQS
int
# must be >= the highest interrupt number used
# - include the UART interrupts and ethernet interrupts
default 43

View file

@ -23,7 +23,6 @@ config SYS_CLOCK_TICKS_PER_SEC
default 32768
config NUM_IRQS
int
default 38
config TI_CCFG_PRESENT

View file

@ -9,7 +9,6 @@ config SOC
default "cc3220sf"
config NUM_IRQS
int
# must be >= the highest interrupt number used
# This includes the NWP interrupt
default 178

View file

@ -11,7 +11,6 @@ config SOC
default "cc3235sf"
config NUM_IRQS
int
# must be >= the highest interrupt number used
# This includes the NWP interrupt
default 179

View file

@ -14,7 +14,6 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
default 48000000
config NUM_IRQS
int
default 64
endif # SOC_MSP432P401R

View file

@ -8,7 +8,6 @@ config SOC
default "xilinx_zynqmp"
config NUM_IRQS
int
# must be >= the highest interrupt number used
# - include the UART interrupts
default 220

View file

@ -19,7 +19,6 @@ config RISCV_HAS_PLIC
bool
config NUM_IRQS
int
default 12
endif # SOC_RISCV32_LITEX_VEXRISCV

View file

@ -11,7 +11,6 @@ config SOC
# 32 from event unit + 32 * (1 + max enabled INTMUX channel)
config NUM_IRQS
int
default 288 if RV32M1_INTMUX_CHANNEL_7
default 256 if RV32M1_INTMUX_CHANNEL_6
default 224 if RV32M1_INTMUX_CHANNEL_5

Some files were not shown because too many files have changed in this diff Show more