Clean up omap2 reboot now that cpu_v6_proc_fin is added
{
u32 rate;
struct clk *vclk, *sclk;
- unsigned long flags;
vclk = clk_get(NULL, "virt_prcm_set");
sclk = clk_get(NULL, "sys_ck");
-
- printk(KERN_INFO "Resetting the OMAP2\n");
-
- local_irq_save(flags); /* no distractions, we are rebooting */
rate = clk_get_rate(sclk);
clk_set_rate(vclk, rate); /* go to bypass for OMAP limitation */
RM_RSTCTRL_WKUP |= 2;
- local_irq_restore(flags);
}
static inline void arch_reset(char mode)