summaryrefslogtreecommitdiffstats
path: root/bsps/arm/lpc24xx
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/lpc24xx')
-rw-r--r--bsps/arm/lpc24xx/include/bsp/irq.h2
-rw-r--r--bsps/arm/lpc24xx/irq/irq.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/bsps/arm/lpc24xx/include/bsp/irq.h b/bsps/arm/lpc24xx/include/bsp/irq.h
index 0f0e473a0c..7bbbf44f49 100644
--- a/bsps/arm/lpc24xx/include/bsp/irq.h
+++ b/bsps/arm/lpc24xx/include/bsp/irq.h
@@ -35,8 +35,6 @@
* @{
*/
-#define BSP_INTERRUPT_VECTOR_MIN 0
-
#ifdef ARM_MULTILIB_ARCH_V4
#define LPC24XX_IRQ_WDT 0
#define LPC24XX_IRQ_SOFTWARE 1
diff --git a/bsps/arm/lpc24xx/irq/irq.c b/bsps/arm/lpc24xx/irq/irq.c
index 7801c37843..2fed80efda 100644
--- a/bsps/arm/lpc24xx/irq/irq.c
+++ b/bsps/arm/lpc24xx/irq/irq.c
@@ -91,7 +91,7 @@ rtems_status_code bsp_interrupt_facility_initialize(void)
/* Use IRQ category */
VICIntSelect = 0;
- for (i = BSP_INTERRUPT_VECTOR_MIN; i <= BSP_INTERRUPT_VECTOR_MAX; ++i) {
+ for (i = 0; i <= BSP_INTERRUPT_VECTOR_MAX; ++i) {
/* Use the vector address register to store the vector number */
addr [i] = i;