summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorTsiChungLiew <Tsi-Chung.Liew@freescale.com>2007-07-05 23:01:22 -0500
committerJohn Rigby <jrigby@freescale.com>2007-07-10 14:29:09 -0600
commit7a17e759c7a8b58e910daf54df611e94fc8ca074 (patch)
treebbc425235ae866bf7e8513cf30e96820ecf0a2f4 /cpu
parent3b635492c95bd0d6e08f93f699821cba1f602a64 (diff)
downloadu-boot-imx-7a17e759c7a8b58e910daf54df611e94fc8ca074.zip
u-boot-imx-7a17e759c7a8b58e910daf54df611e94fc8ca074.tar.gz
u-boot-imx-7a17e759c7a8b58e910daf54df611e94fc8ca074.tar.bz2
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 <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/mcf532x/cpu.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/cpu/mcf532x/cpu.c b/cpu/mcf532x/cpu.c
index 071c503..520f5d6 100644
--- a/cpu/mcf532x/cpu.c
+++ b/cpu/mcf532x/cpu.c
@@ -29,8 +29,7 @@
#include <watchdog.h>
#include <command.h>
-#include <asm/immap_5329.h>
-#include <asm/m5329.h>
+#include <asm/immap.h>
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 */