summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/Kconfig
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2018-08-14 03:11:38 +0200
committerMax Filippov <jcmvbkbc@gmail.com>2018-08-20 21:28:04 +0200
commit994fa1c83d658f857dacf0512e8f7db246143d26 (patch)
tree31c638260fdbf906f57013e92929cb3f49677388 /arch/xtensa/Kconfig
parentxtensa: rework {CONFIG,PLATFORM}_DEFAULT_MEM_START (diff)
downloadlinux-994fa1c83d658f857dacf0512e8f7db246143d26.tar.xz
linux-994fa1c83d658f857dacf0512e8f7db246143d26.zip
xtensa: move PLATFORM_NR_IRQS to Kconfig
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/Kconfig')
-rw-r--r--arch/xtensa/Kconfig4
1 files changed, 4 insertions, 0 deletions
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]"