summaryrefslogtreecommitdiff
path: root/arch/microblaze/cpu/interrupts.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-04-16 11:37:41 +0200
committerMichal Simek <monstr@monstr.eu>2010-04-16 12:15:31 +0200
commit5bbcb6cf22b1121d8c3e56b0e1fb84366e903ac7 (patch)
treeb8c12a6559a58957d2f6bfd792690bad5b3ee5fa /arch/microblaze/cpu/interrupts.c
parentcc53690e05f47b4c25e0a528de50e024fc0164ad (diff)
downloadu-boot-imx-5bbcb6cf22b1121d8c3e56b0e1fb84366e903ac7.zip
u-boot-imx-5bbcb6cf22b1121d8c3e56b0e1fb84366e903ac7.tar.gz
u-boot-imx-5bbcb6cf22b1121d8c3e56b0e1fb84366e903ac7.tar.bz2
microblaze: Move timer initialization to board.c
I would like to handle case where system doesn't contain intc that's why I need timer initialization out of intc code. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/cpu/interrupts.c')
-rw-r--r--arch/microblaze/cpu/interrupts.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/microblaze/cpu/interrupts.c b/arch/microblaze/cpu/interrupts.c
index a6021c9..b8db68a 100644
--- a/arch/microblaze/cpu/interrupts.c
+++ b/arch/microblaze/cpu/interrupts.c
@@ -46,9 +46,6 @@ int disable_interrupts (void)
}
#ifdef CONFIG_SYS_INTC_0
-#ifdef CONFIG_SYS_TIMER_0
-extern void timer_init (void);
-#endif
#ifdef CONFIG_SYS_FSL_2
extern void fsl_init2 (void);
#endif
@@ -142,9 +139,6 @@ int interrupts_init (void)
}
/* initialize intc controller */
intc_init ();
-#ifdef CONFIG_SYS_TIMER_0
- timer_init ();
-#endif
#ifdef CONFIG_SYS_FSL_2
fsl_init2 ();
#endif