]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ddr: altera: Clean up find_vfifo_read()
authorMarek Vasut <marex@denx.de>
Sun, 19 Jul 2015 04:45:43 +0000 (06:45 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:31 +0000 (08:17 +0200)
commitc38f25f96105a705b27f787c82aa1ff2eac2943b
tree661fbc602809b1e6de992e09babe475a9b4b6e99
parent874039f04b4c461b2122c85e52fdba3bf6b74f45
ddr: altera: Clean up find_vfifo_read()

Fix data types, constify where applicable, fix comments and debug
strings. In case enough failing reads are detected, just return
right away instead of breaking from the loop. This lets us make
the error handling at the end much simpler.

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