summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/motorola_powerpc/start/bspstart.c
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2021-02-12 09:35:40 -1000
committerChris Johns <chrisj@rtems.org>2021-02-13 13:26:07 +1100
commite1676c1a0ddcdecd45914485813d7518a40cab17 (patch)
tree2c3f81bdbc58e6cb82985c776c4c1eaf0ce3c7fa /bsps/powerpc/motorola_powerpc/start/bspstart.c
parentrtems-debugger-threads.c: Fix three Dereference before null check errors (diff)
downloadrtems-e1676c1a0ddcdecd45914485813d7518a40cab17.tar.bz2
Update motorola_power to irq-generic interrupt management
- Add support to the BSP to enable irq-generic management - Update the powerpc shared irq code to support irq-generic. This is an opt in option for existing powerpc bsps. This change should be simpler now - Fix a number of issues in ISA IRQ controller handling by porting fixes from the i386 (PC) BSP Closes #4238 Closes #4239
Diffstat (limited to 'bsps/powerpc/motorola_powerpc/start/bspstart.c')
-rw-r--r--bsps/powerpc/motorola_powerpc/start/bspstart.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/bsps/powerpc/motorola_powerpc/start/bspstart.c b/bsps/powerpc/motorola_powerpc/start/bspstart.c
index e74b02c446..ef8418e2c6 100644
--- a/bsps/powerpc/motorola_powerpc/start/bspstart.c
+++ b/bsps/powerpc/motorola_powerpc/start/bspstart.c
@@ -27,6 +27,7 @@
#include <bsp/pci.h>
#include <bsp/openpic.h>
#include <bsp/irq.h>
+#include <bsp/irq-generic.h>
#include <libcpu/bat.h>
#include <libcpu/pte121.h>
#include <libcpu/cpuIdent.h>
@@ -334,10 +335,8 @@ static void bsp_early( void )
*/
bsp_clicks_per_usec = BSP_bus_frequency/(BSP_time_base_divisor * 1000);
- /*
- * Initalize RTEMS IRQ system
- */
- BSP_rtems_irq_mng_init(0);
+ /* Initialize interrupt support */
+ bsp_interrupt_initialize();
/* Activate the page table mappings only after
* initializing interrupts because the irq_mng_init()