]> git.dujemihanovic.xyz Git - u-boot.git/commit
ddr: altera: Clean up sdr_find_window_centre() part 2
authorMarek Vasut <marex@denx.de>
Sun, 19 Jul 2015 02:04:33 +0000 (04:04 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:18 +0000 (14:14 +0200)
commitcbb0b7e03641bbeea558b7d0497d0267578459a2
treefe1dc9785ba0284a662268c23a48b08f050a4528
parent28fd242a18f78ea9f3c208e9180ecaed76cfb83d
ddr: altera: Clean up sdr_find_window_centre() part 2

This function is a treasure trove of ad-hoc iterative
implementations of mathematical functions. Replace all
of those with their non-iterative counterpart.

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