a22 and rk29 phonesdk:32K Frequency switch time cut short

This commit is contained in:
张晴
2011-07-22 01:55:58 -07:00
parent 5675bfaadd
commit 3fcb591659

View File

@@ -588,13 +588,13 @@ void __sramfunc pm_clk_switch_32k(void)
asm("wfi");
pm_gpio_out_low(RK29_PIN4_PC5);//enable 24M
sram_udelay(1000,24);
sram_udelay(20,24); //the system clock is 32.768K
cru_writel(crumode, CRU_MODE_CON); //externel clk 24M
#ifndef CONFIG_MACH_RK29_A22
pm_gpio_out_low(RK29_PIN4_PC0); //enable 27M
#endif
sram_udelay(1000,27);
//sram_udelay(1000,27);
sram_printch('7');