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>
16 lines
249 B
Text
16 lines
249 B
Text
# Kconfig - ST Microelectronics STM32MP157C_M4 MCU
|
|
#
|
|
# Copyright (c) 2019 STMicroelectronics
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
if SOC_STM32MP15_M4
|
|
|
|
config SOC
|
|
default "stm32mp157cxx"
|
|
|
|
config NUM_IRQS
|
|
default 150
|
|
|
|
endif # SOC_STM32MP15_M4
|