]> git.dujemihanovic.xyz Git - u-boot.git/commit
ram: rk3399: Add set_rate sdram rk3399 ops
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 16 Jul 2019 11:57:39 +0000 (17:27 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 20 Jul 2019 16:00:32 +0000 (00:00 +0800)
commit1dd1cb6253c3a4326284f4f2a141297d06103e69
tree45da99658b3bfeaac556b503e281927d8b004ef3
parentdd2c633b2a3daf6f3acee0dcd569b0417c438dbb
ram: rk3399: Add set_rate sdram rk3399 ops

DDR set rate can be even required for lpddr4 and we
need to keep the lpddr4 code to compile only for relevant
boards which do support lpddr4.

For this requirement, and for code readability handle
data training via sdram_rk3399_ops with .set_rate and
same will update in future while supporting lpddr4 code.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <Kever.yang@rock-chips.com>
drivers/ram/rockchip/sdram_rk3399.c