Commit d8484b1e authored by Derek Basehore's avatar Derek Basehore Committed by Xing Zheng
Browse files

rockchip: rk3399: Remove dram dfs optimization



This removes an optimization to not recalculate parameters if the
frequency index being switched to hold the next frequency. This is
because some registers do not have a copy per frequency index, so this
optimization might be causing problems.
Signed-off-by: default avatarDerek Basehore <dbasehore@chromium.org>
parent 951752dd
...@@ -1980,8 +1980,6 @@ static uint32_t prepare_ddr_timing(uint32_t mhz) ...@@ -1980,8 +1980,6 @@ static uint32_t prepare_ddr_timing(uint32_t mhz)
gen_rk3399_set_odt(1); gen_rk3399_set_odt(1);
index = (rk3399_dram_status.current_index + 1) & 0x1; index = (rk3399_dram_status.current_index + 1) & 0x1;
if (rk3399_dram_status.index_freq[index] == mhz)
return index;
/* /*
* checking if having available gate traiing timing for * checking if having available gate traiing timing for
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment