mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
RK3188:ddr_clock select GPLL_2_div if ddr_freq big then 250MHz,
only use for DPLL bad and ddr_clock must select GPLL(800MHz-1000MHz).
This commit is contained in:
2
arch/arm/mach-rk30/ddr.c
Normal file → Executable file
2
arch/arm/mach-rk30/ddr.c
Normal file → Executable file
@@ -3717,7 +3717,7 @@ uint32_t ddr_change_freq(uint32_t nMHz)
|
||||
}
|
||||
else if(gpllvaluel > 800) //GPLL:800MHz-1000MHz
|
||||
{
|
||||
if(nMHz > 300)
|
||||
if(nMHz > 250)
|
||||
ddr_select_gpll_div=2; //DDR_CLCOK:400MHz-500MHz
|
||||
else
|
||||
ddr_select_gpll_div=4; //DDR_CLCOK:200MHz-250MHz
|
||||
|
||||
Reference in New Issue
Block a user