diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2008-12-18 05:08:55 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-12-18 10:40:11 -0500 |
commit | 9d631b835f518848b7f3ce803bfd00dc1bb8a5b1 (patch) | |
tree | 06fbe8adf4b7959454c07f1e6cc86a8bbb04a67c /arch/arm/plat-mxc/include/mach/mx31.h | |
parent | 7c99502383713f1a59c35fbe14db8364e4052286 (diff) |
[ARM] MXC: remove dependency to other include files from irqs.h
This patch removes the inclusion of mach/hardware.h from mach/irqs.h and
switches to more meaningful names for the irq related macros.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/mx31.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mx31.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx31.h b/arch/arm/plat-mxc/include/mach/mx31.h index 0536f8917bc0..65c3109b5192 100644 --- a/arch/arm/plat-mxc/include/mach/mx31.h +++ b/arch/arm/plat-mxc/include/mach/mx31.h | |||
@@ -315,23 +315,6 @@ | |||
315 | #define MXC_INT_EXT_WDOG 62 | 315 | #define MXC_INT_EXT_WDOG 62 |
316 | #define MXC_INT_EXT_TV 63 | 316 | #define MXC_INT_EXT_TV 63 |
317 | 317 | ||
318 | #define MXC_MAX_INT_LINES 64 | ||
319 | |||
320 | #define MXC_GPIO_INT_BASE MXC_MAX_INT_LINES | ||
321 | #define MXC_MAX_GPIO_LINES (GPIO_NUM_PIN * GPIO_PORT_NUM) | ||
322 | #define MXC_MAX_VIRTUAL_INTS 16 | ||
323 | |||
324 | #define NR_IRQS (MXC_MAX_INT_LINES + MXC_MAX_GPIO_LINES + MXC_MAX_VIRTUAL_INTS) | ||
325 | |||
326 | /*! | ||
327 | * Number of GPIO port as defined in the IC Spec | ||
328 | */ | ||
329 | #define GPIO_PORT_NUM 3 | ||
330 | /*! | ||
331 | * Number of GPIO pins per port | ||
332 | */ | ||
333 | #define GPIO_NUM_PIN 32 | ||
334 | |||
335 | #define PROD_SIGNATURE 0x1 /* For MX31 */ | 318 | #define PROD_SIGNATURE 0x1 /* For MX31 */ |
336 | 319 | ||
337 | /* silicon revisions specific to i.MX31 */ | 320 | /* silicon revisions specific to i.MX31 */ |