phonesdk and A22: increasing the speed of resume
authorxsf@rock-chips.com <root@xxx-desktop.(none)>
Fri, 15 Jul 2011 07:51:45 +0000 (15:51 +0800)
committerxsf@rock-chips.com <root@xxx-desktop.(none)>
Fri, 15 Jul 2011 07:51:45 +0000 (15:51 +0800)
arch/arm/mach-rk29/spi_sram.c

index 55df65f26d1e360d2b6953ce97cc481407ee9c2e..70808204c44b193e5673aba2c306b6cc965645d4 100755 (executable)
@@ -568,7 +568,7 @@ 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);
        cru_writel(crumode, CRU_MODE_CON); //externel clk 24M
 
        #if defined (CONFIG_RK29_WORKING_POWER_MANAGEMENT)
@@ -576,7 +576,7 @@ void __sramfunc pm_clk_switch_32k(void)
        #else
        pm_gpio_out_low(RK29_PIN4_PC0); //enable 27M
        #endif
-       sram_udelay(1000,27);
+       //sram_udelay(1000,27);
        sram_printch('7');