summaryrefslogtreecommitdiffstats
path: root/bsps
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-06-19 11:25:34 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-06-24 11:35:49 +0200
commit5210c7c2193136a5f31d464f150cb022f2baa7a0 (patch)
tree5f771f63ada3a85189c9bc7f7f936d0ac10b7824 /bsps
parentbsp/genmcf548x: Change BSP_INTERRUPT_VECTOR_MIN (diff)
downloadrtems-5210c7c2193136a5f31d464f150cb022f2baa7a0.tar.bz2
bsp/generic_or1k: Remove incomplete IRQ support
Update #3269.
Diffstat (limited to 'bsps')
-rw-r--r--bsps/or1k/generic_or1k/include/bsp/irq.h3
-rw-r--r--bsps/or1k/generic_or1k/irq/irq.c43
2 files changed, 1 insertions, 45 deletions
diff --git a/bsps/or1k/generic_or1k/include/bsp/irq.h b/bsps/or1k/generic_or1k/include/bsp/irq.h
index 791aefcae0..c9f2c62a91 100644
--- a/bsps/or1k/generic_or1k/include/bsp/irq.h
+++ b/bsps/or1k/generic_or1k/include/bsp/irq.h
@@ -23,8 +23,7 @@
#include <rtems/irq.h>
#include <rtems/irq-extension.h>
-#define BSP_INTERRUPT_VECTOR_MIN 0x100
-#define BSP_INTERRUPT_VECTOR_MAX 0x1F00
+#include <bsp/irq-default.h>
/* Interrupt Identification Register */
#define OR1K_BSP_UART_REG_INT_ID_MSI (0x00)
diff --git a/bsps/or1k/generic_or1k/irq/irq.c b/bsps/or1k/generic_or1k/irq/irq.c
deleted file mode 100644
index f9a7b6426d..0000000000
--- a/bsps/or1k/generic_or1k/irq/irq.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * @file
- *
- * @ingroup or1k_interrupt
- *
- * @brief Interrupt support.
- */
-
-/*
- * Copyright (c) 2014 Hesham ALMatary
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
- */
-
-#include <bsp/irq.h>
-#include <bsp/irq-generic.h>
-#include <rtems/inttypes.h>
-
-/* Almost all of the jobs that the following functions should
- * do are implemented in cpukit
- */
-
-void bsp_interrupt_handler_default(rtems_vector_number vector)
-{
- printk("spurious interrupt: %" PRIdrtems_vector_number "\n", vector);
-}
-
-rtems_status_code bsp_interrupt_facility_initialize()
-{
- return 0;
-}
-
-void bsp_interrupt_vector_enable(rtems_vector_number vector)
-{
- bsp_interrupt_assert(bsp_interrupt_is_valid_vector(vector));
-}
-
-void bsp_interrupt_vector_disable(rtems_vector_number vector)
-{
- bsp_interrupt_assert(bsp_interrupt_is_valid_vector(vector));
-}