Skip to content
Snippets Groups Projects
Commit 901dc36e authored by Marek Vasut's avatar Marek Vasut
Browse files

ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_center() part 3


Factor out common code from search_left_edge() and search_right_edge()
which checks whether searching for the window edge should stop. The
code is almost identical, so pull it into separate function and cater
for the minor differences.

Signed-off-by: default avatarMarek Vasut <marex@denx.de>
parent 71120773
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment