rockchip/rk3399: fix DRAM gate training issue
The differential signal of DQS need keep low level
before gate training. It need enable RPULL and disable
PHY side ODT to ensure it when do gate training.
But it can not access the PHY registers to do it when
perform DFS.So the workaroud as below: It is ensure that
the PHY's read gate is landing somewhere in the incoming
DQS's pulses before it starts searching for pre-amble window.
It need get the rddqs_delay_ps to calculate the start point
of gate training for DFS.

Change-Id: I79eabcf4ec9a9c8f4539f68a51f22afba49c72fe
Signed-off-by: Lin Huang <hl@rock-chips.com>
1 parent f9a050e commit a9059b9643932782c17a9a5366f7019817819d44
@Lin Huang Lin Huang authored on 22 Feb 2017
Caesar Wang committed on 7 Jun 2017
Showing 1 changed file
View
plat/rockchip/rk3399/drivers/dram/dfs.c