ram: rk3399: Update lpddr4 mode_sel based on io settings
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 16 Jul 2019 11:57:27 +0000 (17:27 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 20 Jul 2019 15:59:44 +0000 (23:59 +0800)
commit274c33737bcb49d9120ea222ba1a434d3fdca1c7
tree3543805a7168c033290c08759e796c7b7bc469c8
parent95be76eb5ce0d807d5b1b360efbac11f16a819af
ram: rk3399: Update lpddr4 mode_sel based on io settings

The mode_sel on lpddr4 value is depending on IO settings
of rd_vref.

Add support for it.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: YouMin Chen <cym@rock-chips.com>
drivers/ram/rockchip/sdram_rk3399.c