aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/platforms
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2018-08-13 18:11:38 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2018-08-20 12:28:04 -0700
commit994fa1c83d658f857dacf0512e8f7db246143d26 (patch)
tree31c638260fdbf906f57013e92929cb3f49677388 /arch/xtensa/platforms
parentxtensa: rework {CONFIG,PLATFORM}_DEFAULT_MEM_START (diff)
downloadlinux-dev-994fa1c83d658f857dacf0512e8f7db246143d26.tar.xz
linux-dev-994fa1c83d658f857dacf0512e8f7db246143d26.zip
xtensa: move PLATFORM_NR_IRQS to Kconfig
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/platforms')
-rw-r--r--arch/xtensa/platforms/xt2000/include/platform/hardware.h4
-rw-r--r--arch/xtensa/platforms/xtfpga/include/platform/hardware.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/arch/xtensa/platforms/xt2000/include/platform/hardware.h b/arch/xtensa/platforms/xt2000/include/platform/hardware.h
index a309ec190777..8e5e0d6a81ec 100644
--- a/arch/xtensa/platforms/xt2000/include/platform/hardware.h
+++ b/arch/xtensa/platforms/xt2000/include/platform/hardware.h
@@ -18,10 +18,6 @@
#include <variant/core.h>
/*
- * Number of platform IRQs
- */
-#define PLATFORM_NR_IRQS 3
-/*
* On-board components.
*/
diff --git a/arch/xtensa/platforms/xtfpga/include/platform/hardware.h b/arch/xtensa/platforms/xtfpga/include/platform/hardware.h
index 99d9bcbec57e..30d9cb6cf168 100644
--- a/arch/xtensa/platforms/xtfpga/include/platform/hardware.h
+++ b/arch/xtensa/platforms/xtfpga/include/platform/hardware.h
@@ -17,10 +17,6 @@
#ifndef __XTENSA_XTAVNET_HARDWARE_H
#define __XTENSA_XTAVNET_HARDWARE_H
-/* Interrupt configuration. */
-
-#define PLATFORM_NR_IRQS 0
-
/* Default assignment of LX60 devices to external interrupts. */
#ifdef CONFIG_XTENSA_MX