fix retention bug after CPU power down exit
authorhcy <hcy@rock-chips.com>
Wed, 9 Apr 2014 09:04:32 +0000 (17:04 +0800)
committerhcy <hcy@rock-chips.com>
Wed, 9 Apr 2014 09:08:37 +0000 (17:08 +0800)
arch/arm/mach-rockchip/ddr_rk32.c

index 445f33891cb0d5e77c65b5ba1e870feaa9921b45..c54b87a173af53d811da0183d6365dbaebe6b4c4 100755 (executable)
@@ -4153,7 +4153,7 @@ void ddr_reg_save(uint32 *pArg)
     p_ddr_reg->ddrPllSrcDiv = (pCRU_Reg->CRU_CLKSEL_CON[26] & 0x7) | (0x7<<16);
 
     p_ddr_reg->retenDisAddr = RK3288_PMU_PHYS+0x18;  //pmu_pwrmode_con
-    p_ddr_reg->retenDisVal = (3<<22);  //OR operation
+    p_ddr_reg->retenDisVal = (3<<21);  //OR operation
     p_ddr_reg->retenStAddr = RK3288_PMU_PHYS+0x1c;  //pmu_pwrmode_con
     p_ddr_reg->retenStMask = (1<<6);
     p_ddr_reg->retenStVal = (0<<6);