]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_center() part 8
authorMarek Vasut <marex@denx.de>
Sat, 18 Jul 2015 18:34:00 +0000 (20:34 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:32 +0000 (08:17 +0200)
commit6d47b97e45175de738d060451257ff9bc8af603f
tree3acf48bd5884d31b84d1c512239ece5c7cc2ae42
parente776704afc0fbcc3a86ba17b518a66ecbba474b3
ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_center() part 8

The search_stop_check() always resets the bit_chk to a new value,
so bit_chk will never survive between search_left_edge() and
search_right_edge() invocation. There is thus no need to pass
it into these functions, so make bit_chk local to them.

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