ddr: altera: Repair uninited variable
authorMarek Vasut <marex@denx.de>
Mon, 10 Aug 2015 21:01:43 +0000 (23:01 +0200)
committerMarek Vasut <marex@denx.de>
Sun, 23 Aug 2015 09:56:19 +0000 (11:56 +0200)
commit35e47b7132fa515e32189077ec7b80090562c709
tree4fd330da9daa7e9ef9da29ea219943e18d5cd30b
parent6d7a33301a05472bc788415c1d1575041e478931
ddr: altera: Repair uninited variable

Fix the following problem:
drivers/ddr/altera/sequencer.c: In function 'sdram_calibration_full':
drivers/ddr/altera/sequencer.c:1943:25: warning: 'found_failing_read' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if (found_passing_read && found_failing_read)
                         ^
drivers/ddr/altera/sequencer.c:1803:26: note: 'found_failing_read' was declared here
  u32 found_passing_read, found_failing_read, initial_failing_dtap;
                          ^

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