projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41aa89b
)
fix retention bug after CPU power down exit
author
hcy
<hcy@rock-chips.com>
Wed, 9 Apr 2014 09:04:32 +0000
(17:04 +0800)
committer
hcy
<hcy@rock-chips.com>
Wed, 9 Apr 2014 09:08:37 +0000
(17:08 +0800)
arch/arm/mach-rockchip/ddr_rk32.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/ddr_rk32.c
b/arch/arm/mach-rockchip/ddr_rk32.c
index 445f33891cb0d5e77c65b5ba1e870feaa9921b45..c54b87a173af53d811da0183d6365dbaebe6b4c4 100755
(executable)
--- a/
arch/arm/mach-rockchip/ddr_rk32.c
+++ b/
arch/arm/mach-rockchip/ddr_rk32.c
@@
-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<<2
2
); //OR operation
+ p_ddr_reg->retenDisVal = (3<<2
1
); //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);