diff options
author | Marek Vasut <marex@denx.de> | 2015-07-17 02:50:56 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-08 14:14:16 +0200 |
commit | c452dcd0b7bcabfcf76088f8cec3bc8fd5dd8ffd (patch) | |
tree | d6dd94e9af8bbdf234146429b5bddaf1546a5c45 /drivers/ddr/fsl/mpc86xx_ddr.c | |
parent | c50ae30341b002731c60bc385a1b29ac03251cc2 (diff) |
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>
Diffstat (limited to 'drivers/ddr/fsl/mpc86xx_ddr.c')
0 files changed, 0 insertions, 0 deletions