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/platforms/xt2000/include/platform/hardware.h | 4 ---- arch/xtensa/platforms/xtfpga/include/platform/hardware.h | 4 ---- 2 files changed, 8 deletions(-) (limited to 'arch/xtensa/platforms') 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 @@ -17,10 +17,6 @@ #include -/* - * 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 -- cgit v1.2.3-59-g8ed1b