diff options
Diffstat (limited to 'arch/xtensa/platforms/xtfpga/include/platform/hardware.h')
-rw-r--r-- | arch/xtensa/platforms/xtfpga/include/platform/hardware.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/xtensa/platforms/xtfpga/include/platform/hardware.h b/arch/xtensa/platforms/xtfpga/include/platform/hardware.h index dbeea2b440a1..1fda7e20dfcb 100644 --- a/arch/xtensa/platforms/xtfpga/include/platform/hardware.h +++ b/arch/xtensa/platforms/xtfpga/include/platform/hardware.h | |||
@@ -24,16 +24,18 @@ | |||
24 | 24 | ||
25 | /* Interrupt configuration. */ | 25 | /* Interrupt configuration. */ |
26 | 26 | ||
27 | #define PLATFORM_NR_IRQS 10 | 27 | #define PLATFORM_NR_IRQS 0 |
28 | 28 | ||
29 | /* Default assignment of LX60 devices to external interrupts. */ | 29 | /* Default assignment of LX60 devices to external interrupts. */ |
30 | 30 | ||
31 | #ifdef CONFIG_XTENSA_MX | 31 | #ifdef CONFIG_XTENSA_MX |
32 | #define DUART16552_INTNUM XCHAL_EXTINT3_NUM | 32 | #define DUART16552_INTNUM XCHAL_EXTINT3_NUM |
33 | #define OETH_IRQ XCHAL_EXTINT4_NUM | 33 | #define OETH_IRQ XCHAL_EXTINT4_NUM |
34 | #define C67X00_IRQ XCHAL_EXTINT8_NUM | ||
34 | #else | 35 | #else |
35 | #define DUART16552_INTNUM XCHAL_EXTINT0_NUM | 36 | #define DUART16552_INTNUM XCHAL_EXTINT0_NUM |
36 | #define OETH_IRQ XCHAL_EXTINT1_NUM | 37 | #define OETH_IRQ XCHAL_EXTINT1_NUM |
38 | #define C67X00_IRQ XCHAL_EXTINT5_NUM | ||
37 | #endif | 39 | #endif |
38 | 40 | ||
39 | /* | 41 | /* |
@@ -63,5 +65,5 @@ | |||
63 | 65 | ||
64 | #define C67X00_PADDR (XCHAL_KIO_PADDR + 0x0D0D0000) | 66 | #define C67X00_PADDR (XCHAL_KIO_PADDR + 0x0D0D0000) |
65 | #define C67X00_SIZE 0x10 | 67 | #define C67X00_SIZE 0x10 |
66 | #define C67X00_IRQ 5 | 68 | |
67 | #endif /* __XTENSA_XTAVNET_HARDWARE_H */ | 69 | #endif /* __XTENSA_XTAVNET_HARDWARE_H */ |