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:
0c1ffdc
)
add a condition before rank_to_row15_en,because LPDDR2 used rank1, to resolve LPDDR...
author
hecanyang
<hcy@ubuntu-fs.(none)>
Thu, 3 May 2012 03:35:26 +0000
(11:35 +0800)
committer
hecanyang
<hcy@ubuntu-fs.(none)>
Thu, 3 May 2012 03:38:54 +0000
(11:38 +0800)
arch/arm/mach-rk30/ddr.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/ddr.c
b/arch/arm/mach-rk30/ddr.c
index 9945246f3958ae1fd42650e58648a83742440285..de456ffedcbdca3d7dda19e194fb9df6f4ccc87f 100755
(executable)
--- a/
arch/arm/mach-rk30/ddr.c
+++ b/
arch/arm/mach-rk30/ddr.c
@@
-1285,7
+1285,10
@@
static __sramfunc void ddr_adjust_config(uint32_t dram_type)
move_to_Config_state();
//extend capability for debug
- pGRF_Reg->GRF_SOC_CON[2] = rank_to_row15_en;
+ if(pGRF_Reg->GRF_SOC_CON[2] & (0x1<<1))
+ {
+ pGRF_Reg->GRF_SOC_CON[2] = rank_to_row15_en;
+ }
//set data training address
pPHY_Reg->DTAR = value;