From 994fa1c83d658f857dacf0512e8f7db246143d26 Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Mon, 13 Aug 2018 18:11:38 -0700 Subject: xtensa: move PLATFORM_NR_IRQS to Kconfig Signed-off-by: Max Filippov --- arch/xtensa/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/xtensa/Kconfig') diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index e82ed7216eca..4e64c9c1748b 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig @@ -435,6 +435,10 @@ config XTENSA_PLATFORM_XTFPGA endchoice +config PLATFORM_NR_IRQS + int + default 3 if XTENSA_PLATFORM_XT2000 + default 0 config XTENSA_CPU_CLOCK int "CPU clock rate [MHz]" -- cgit v1.2.3