aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/ath25/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/ath25/board.c')
-rw-r--r--arch/mips/ath25/board.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/mips/ath25/board.c b/arch/mips/ath25/board.c
index 6063bdf9066e..d4675e04a634 100644
--- a/arch/mips/ath25/board.c
+++ b/arch/mips/ath25/board.c
@@ -20,6 +20,8 @@
20#include "ar5312.h" 20#include "ar5312.h"
21#include "ar2315.h" 21#include "ar2315.h"
22 22
23void (*ath25_irq_dispatch)(void);
24
23static void ath25_halt(void) 25static void ath25_halt(void)
24{ 26{
25 local_irq_disable(); 27 local_irq_disable();
@@ -42,6 +44,7 @@ void __init plat_mem_setup(void)
42 44
43asmlinkage void plat_irq_dispatch(void) 45asmlinkage void plat_irq_dispatch(void)
44{ 46{
47 ath25_irq_dispatch();
45} 48}
46 49
47void __init plat_time_init(void) 50void __init plat_time_init(void)
@@ -61,4 +64,10 @@ void __init arch_init_irq(void)
61{ 64{
62 clear_c0_status(ST0_IM); 65 clear_c0_status(ST0_IM);
63 mips_cpu_irq_init(); 66 mips_cpu_irq_init();
67
68 /* Initialize interrupt controllers */
69 if (is_ar5312())
70 ar5312_arch_init_irq();
71 else
72 ar2315_arch_init_irq();
64} 73}