]> git.dujemihanovic.xyz Git - u-boot.git/commit
mv_ddr: ddr3: only use active chip-selects when tuning ODT
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Thu, 28 Feb 2019 21:11:14 +0000 (10:11 +1300)
committerStefan Roese <sr@denx.de>
Tue, 19 Mar 2019 08:22:05 +0000 (09:22 +0100)
commit247c80d6b8ad07871845a846796ae6b40f34b4f6
tree674e4179608de8a3099a56d624cead1ddb89e6f4
parent08dcbc98236c4ea9eb4b9d4731a53022204c4809
mv_ddr: ddr3: only use active chip-selects when tuning ODT

Inactive chip-selects will give invalid values for read_sample so don't
consider them when trying to determine the overall min/max read sample.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
[https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell/pull/18]
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/ddr/marvell/a38x/ddr3_training_hw_algo.c