]> git.dujemihanovic.xyz Git - u-boot.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)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:20 +0000 (14:14 +0200)
commitd145ca9fc3dba3333a2dafcaa1b88840765c3982
tree9e84fa1d744f4566b694efd033d8e6264ec2d23b
parent8c887b6ec3df03fc576eb8a88217cd7d329422ce
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