diff options
author | Michal Simek <monstr@monstr.eu> | 2012-07-10 10:31:31 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2012-07-10 11:54:06 +0200 |
commit | 575a3d21f6d7cbb653e48a957d0b2db944f2b9b3 (patch) | |
tree | f9135962ff321281df6a22b56a2a6b005ac94a21 /arch/microblaze/lib/board.c | |
parent | e0bb305df88c98215da6d16af3709863d59ee256 (diff) | |
download | u-boot-imx-575a3d21f6d7cbb653e48a957d0b2db944f2b9b3.zip u-boot-imx-575a3d21f6d7cbb653e48a957d0b2db944f2b9b3.tar.gz u-boot-imx-575a3d21f6d7cbb653e48a957d0b2db944f2b9b3.tar.bz2 |
microblaze: intc: Clear interrupt code
Clear and prepare for device-tree driven configuration.
Remove CONFIG_SYS_INTC_0 definition
Use dynamic allocation instead of static.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/microblaze/lib/board.c')
-rw-r--r-- | arch/microblaze/lib/board.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c index d3f2595..b80250a 100644 --- a/arch/microblaze/lib/board.c +++ b/arch/microblaze/lib/board.c @@ -33,15 +33,13 @@ #include <serial.h> #include <net.h> #include <asm/processor.h> +#include <asm/microblaze_intc.h> DECLARE_GLOBAL_DATA_PTR; #ifdef CONFIG_SYS_GPIO_0 extern int gpio_init (void); #endif -#ifdef CONFIG_SYS_INTC_0 -extern int interrupts_init (void); -#endif #ifdef CONFIG_SYS_TIMER_0 extern int timer_init (void); #endif @@ -70,9 +68,7 @@ init_fnc_t *init_sequence[] = { #ifdef CONFIG_SYS_GPIO_0 gpio_init, #endif -#ifdef CONFIG_SYS_INTC_0 interrupts_init, -#endif #ifdef CONFIG_SYS_TIMER_0 timer_init, #endif |