ddr: altera: Clean up of delay_for_n_mem_clocks() part 2
authorMarek Vasut <marex@denx.de>
Sun, 26 Jul 2015 09:34:09 +0000 (11:34 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:34 +0000 (08:17 +0200)
commita4a5f895875ac4dfc624020fb88968efa37e005a
tree85ac59a547382383b4b239ff307ad6774bd3af25
parent29fe06d9a78f00865bd27d13d3e32e6e70c41ee2
ddr: altera: Clean up of delay_for_n_mem_clocks() part 2

Factor out (afi_clocks - 1) into a single place instead of having it
all around the function.

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