rockchip: rk3399: Move DQS drive strength setting to M0
authorDerek Basehore <dbasehore@chromium.org>
Thu, 2 Feb 2017 02:09:13 +0000 (18:09 -0800)
committerXing Zheng <zhengxing@rock-chips.com>
Fri, 24 Feb 2017 12:07:45 +0000 (20:07 +0800)
commit50bde47fe3f861a707d48cb36e556369a03f36f6
tree299f1a3bdfa55297d3c1af0f0474b6fafaad0e07
parentd8484b1e572d4e5729f0cee2e910766bcb1a9547
rockchip: rk3399: Move DQS drive strength setting to M0

This moves the setting of the DQS drive strength to the M0 to minimize
the impact on DDR transactions. We need to have the DQS drive strength
changed for data training, which is triggered by the M0, but it also
needs to be changed back when data training is finished.

Signed-off-by: Derek Basehore <dbasehore@chromium.org>
plat/rockchip/rk3399/drivers/dram/dfs.c
plat/rockchip/rk3399/drivers/m0/src/dram.c