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)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:24 +0000 (14:14 +0200)
commitcbcaf4604329a6a69597630d7abdab942e2c59c8
treee1cfae9f75ebe330495775839d7db3ec73c249c6
parent90a584b76345d95f541e5843aba158ceb28a1271
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