u-boot/drivers/ddr/altera
Marek Vasut c452dcd0b7 ddr: altera: Internal mem_calibrate() cleanup part 5
This is kind of microseries-within-series indent cleanup.
Rework the code for the the middle-loop of the mega-loop
this time and deal with the group_failed variable. Instead
of checking if the group failed in the previous calibration
part, just jump to the end of the loop if calibration did
fail and increment the counter. This shaves away one more
level of indent while making the code slightly more readable.

It is likely that this patch has checkpatch warnings, but
for the sake of not breaking the code, these are ignored.

No functional change.

Signed-off-by: Marek Vasut <marex@denx.de>
2015-08-08 14:14:16 +02:00
..
Makefile driver/ddr/altera: Add the sdram calibration portion 2015-08-08 14:14:05 +02:00
sdram.c ddr: altera: Wrap SOCFPGA_SDR_ADDRESS into SDR_PHYGRP.*ADDRESS 2015-08-08 14:14:11 +02:00
sequencer.c ddr: altera: Internal mem_calibrate() cleanup part 5 2015-08-08 14:14:16 +02:00
sequencer.h ddr: altera: Clean up mem_config() 2015-08-08 14:14:14 +02:00
sequencer_auto.h driver/ddr/altera: Add the sdram calibration portion 2015-08-08 14:14:05 +02:00
sequencer_auto_ac_init.h driver/ddr/altera: Add the sdram calibration portion 2015-08-08 14:14:05 +02:00
sequencer_auto_inst_init.h driver/ddr/altera: Add the sdram calibration portion 2015-08-08 14:14:05 +02:00
sequencer_defines.h driver/ddr/altera: Add the sdram calibration portion 2015-08-08 14:14:05 +02:00