summaryrefslogtreecommitdiff
path: root/arch/microblaze
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2015-01-27 12:44:12 +0100
committerMichal Simek <michal.simek@xilinx.com>2015-02-09 15:09:58 +0100
commit2c7c32fa7f025a87cfdb4afce4a6dda78a8c5582 (patch)
tree3630b0f48ea90cef34c27d121114318dbf1b8755 /arch/microblaze
parent7c6814f184ca455f45684cbcbf108596ecbe00c6 (diff)
downloadu-boot-imx-2c7c32fa7f025a87cfdb4afce4a6dda78a8c5582.zip
u-boot-imx-2c7c32fa7f025a87cfdb4afce4a6dda78a8c5582.tar.gz
u-boot-imx-2c7c32fa7f025a87cfdb4afce4a6dda78a8c5582.tar.bz2
microblaze: Use standard interrupt_init() function
Do not use microblaze specific interrupt init function. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/cpu/interrupts.c2
-rw-r--r--arch/microblaze/include/asm/microblaze_intc.h2
-rw-r--r--arch/microblaze/lib/board.c2
3 files changed, 2 insertions, 4 deletions
diff --git a/arch/microblaze/cpu/interrupts.c b/arch/microblaze/cpu/interrupts.c
index f66ec69..b6d6610 100644
--- a/arch/microblaze/cpu/interrupts.c
+++ b/arch/microblaze/cpu/interrupts.c
@@ -109,7 +109,7 @@ static void intc_init(void)
intc->iar, intc->mer);
}
-int interrupts_init(void)
+int interrupt_init(void)
{
int i;
diff --git a/arch/microblaze/include/asm/microblaze_intc.h b/arch/microblaze/include/asm/microblaze_intc.h
index 0fb9207..6586838 100644
--- a/arch/microblaze/include/asm/microblaze_intc.h
+++ b/arch/microblaze/include/asm/microblaze_intc.h
@@ -34,5 +34,3 @@ struct irq_action {
*/
int install_interrupt_handler(int irq, interrupt_handler_t *hdlr,
void *arg);
-
-int interrupts_init(void);
diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c
index 600c80a..bd028a6 100644
--- a/arch/microblaze/lib/board.c
+++ b/arch/microblaze/lib/board.c
@@ -55,7 +55,7 @@ init_fnc_t *init_sequence[] = {
#endif
display_banner,
#ifndef CONFIG_SPL_BUILD
- interrupts_init,
+ interrupt_init,
timer_init,
#endif
NULL,