Commit 46b9dbce authored by Lin Huang's avatar Lin Huang Committed by Xing Zheng
Browse files

rockchip: rk3399: enable CA training when do ddr dfs



For ddr dfs stable, We need to enable ddr CA training
when do ddr dfs.
Signed-off-by: default avatarLin Huang <hl@rock-chips.com>
parent c6e15d14
......@@ -1017,6 +1017,7 @@ static void gen_rk3399_enable_training(uint32_t ch_cnt, uint32_t nmhz)
for (i = 0; i < ch_cnt; i++) {
mmio_clrsetbits_32(CTL_REG(i, 305), 1 << 16, tmp << 16);
mmio_clrsetbits_32(CTL_REG(i, 71), 1, tmp);
mmio_clrsetbits_32(CTL_REG(i, 70), 1 << 8, 1 << 8);
}
}
......
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