]> git.baikalelectronics.ru Git - uboot.git/commit
ddr: marvell: update additional ODT setting
authorChris Packham <judge.packham@gmail.com>
Thu, 18 Jan 2018 04:16:09 +0000 (17:16 +1300)
committerStefan Roese <sr@denx.de>
Fri, 19 Jan 2018 15:30:29 +0000 (16:30 +0100)
commit3d2c60e8c35f0e6f6bd6b4fe43c0e87d0fa8cd96
tree79398711daa0e2f0dacbef1b99943e9519fbbaa2
parent1e931b6b5ee3af0f7bb1eb1479c9bd832e4f3165
ddr: marvell: update additional ODT setting

The RD_SAMPLE_DELAY field is 5 bits so it needs to be masked with 0x1f
instead of 0xf. Rather than checking the read sample delay for all DDR
chip selects use the values for the chip selects that are actually
configured. Finally continue searching for the max_phase value even if the
current read_sample is the same as the max_read_sample.

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