summaryrefslogtreecommitdiff
path: root/include/configs/shmin.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-07-17 02:50:56 +0200
committerMarek Vasut <marex@denx.de>2015-08-08 14:14:16 +0200
commitc452dcd0b7bcabfcf76088f8cec3bc8fd5dd8ffd (patch)
treed6dd94e9af8bbdf234146429b5bddaf1546a5c45 /include/configs/shmin.h
parentc50ae30341b002731c60bc385a1b29ac03251cc2 (diff)
downloadu-boot-imx-c452dcd0b7bcabfcf76088f8cec3bc8fd5dd8ffd.zip
u-boot-imx-c452dcd0b7bcabfcf76088f8cec3bc8fd5dd8ffd.tar.gz
u-boot-imx-c452dcd0b7bcabfcf76088f8cec3bc8fd5dd8ffd.tar.bz2
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 'include/configs/shmin.h')
0 files changed, 0 insertions, 0 deletions