ram: rk3328: only do data traning for cs0
authorKever Yang <kever.yang@rock-chips.com>
Tue, 7 Jan 2020 07:15:20 +0000 (15:15 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 30 Jan 2020 03:44:01 +0000 (11:44 +0800)
commit31531f6fdb22ab0e938f465e799d8191733981ae
tree9a513c3da9ae38b6179585b106f4c4a434fbc241
parent338b86c9b3058c17c272ac4eb82ddb566e33a023
ram: rk3328: only do data traning for cs0

No need to do twice data training for rk3328 ddr sdram, we re-use the
setting for both channel. And adjust the sdram_init properly for correct
init flow.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: YouMin Chen <cym@rock-chips.com>
drivers/ram/rockchip/sdram_rk3328.c