From: TsiChungLiew Date: Fri, 6 Jul 2007 04:01:22 +0000 (-0500) Subject: Update header file and removed interrupt_init() X-Git-Tag: v1.3.0-rc1~19^2~2^2~17^2~12^2~15 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7a17e759c7a8b58e910daf54df611e94fc8ca074;p=u-boot Update header file and removed interrupt_init() Replace immap_5329.h and m5329.h with immap.h. Removed interrupt_init() and placed it in interrupts.c Signed-off-by: TsiChungLiew --- diff --git a/cpu/mcf532x/cpu.c b/cpu/mcf532x/cpu.c index 071c503047..520f5d6939 100644 --- a/cpu/mcf532x/cpu.c +++ b/cpu/mcf532x/cpu.c @@ -29,8 +29,7 @@ #include #include -#include -#include +#include int do_reset(cmd_tbl_t * cmdtp, bd_t * bd, int flag, int argc, char *argv[]) { @@ -117,18 +116,4 @@ int watchdog_init(void) return (0); } -#endif /* #ifdef CONFIG_WATCHDOG */ - -#ifdef CONFIG_MCFINTC -int interrupt_init(void) -{ - volatile int0_t *intp = (int0_t *) (CFG_INTR_BASE); - - /* Make sure all interrupts are disabled */ - intp->imrh0 |= 0xFFFFFFFF; - intp->imrl0 |= 0xFFFFFFFF; - - enable_interrupts(); - return 0; -} -#endif /* CONFIG_MCFINTC */ +#endif /* CONFIG_WATCHDOG */