diff options
Diffstat (limited to 'arch/m68k/platform/5407/config.c')
-rw-r--r-- | arch/m68k/platform/5407/config.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/m68k/platform/5407/config.c b/arch/m68k/platform/5407/config.c index 19c612557b98..bb6c746ae819 100644 --- a/arch/m68k/platform/5407/config.c +++ b/arch/m68k/platform/5407/config.c | |||
@@ -19,20 +19,8 @@ | |||
19 | 19 | ||
20 | /***************************************************************************/ | 20 | /***************************************************************************/ |
21 | 21 | ||
22 | void m5407_cpu_reset(void) | ||
23 | { | ||
24 | local_irq_disable(); | ||
25 | /* set watchdog to soft reset, and enabled */ | ||
26 | __raw_writeb(0xc0, MCF_MBAR + MCFSIM_SYPCR); | ||
27 | for (;;) | ||
28 | /* wait for watchdog to timeout */; | ||
29 | } | ||
30 | |||
31 | /***************************************************************************/ | ||
32 | |||
33 | void __init config_BSP(char *commandp, int size) | 22 | void __init config_BSP(char *commandp, int size) |
34 | { | 23 | { |
35 | mach_reset = m5407_cpu_reset; | ||
36 | mach_sched_init = hw_timer_init; | 24 | mach_sched_init = hw_timer_init; |
37 | 25 | ||
38 | /* Only support the external interrupts on their primary level */ | 26 | /* Only support the external interrupts on their primary level */ |