]> git.dujemihanovic.xyz Git - u-boot.git/commit
ddr: altera: Clean up run_mem_calibrate()
authorMarek Vasut <marex@denx.de>
Thu, 16 Jul 2015 23:20:21 +0000 (01:20 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:14 +0000 (14:14 +0200)
commit23a040c047eed405c4f05408aa80fe9c7110d160
tree1203a4558873340095c66c12022ce870e3e868c7
parent9fa9c90e70020126db23b090d1bef9e62438f615
ddr: altera: Clean up run_mem_calibrate()

Clean the function up slightly by using clrsetbits_le32() to flip
bits in registers instead of cryptic bitmasks. Zap condition checking
for PHY_DEBUG_IN_DEBUG_MODE flag, which is never set. Split the
calibration report into separate debug_mem_calibrate() function.

Signed-off-by: Marek Vasut <marex@denx.de>
drivers/ddr/altera/sequencer.c