summaryrefslogtreecommitdiff
path: root/board/mcc200
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2007-02-27 14:26:04 +0100
committerWolfgang Denk <wd@denx.de>2007-02-27 14:26:04 +0100
commit743571145b37182757d4e688a77860b36ee77573 (patch)
tree3e2006c9f3a953532bb6a97d896390f03e58bd03 /board/mcc200
parent638dd1458bbdc2a55d4b9e25c5c4e1f838a5dc72 (diff)
downloadu-boot-imx-743571145b37182757d4e688a77860b36ee77573.zip
u-boot-imx-743571145b37182757d4e688a77860b36ee77573.tar.gz
u-boot-imx-743571145b37182757d4e688a77860b36ee77573.tar.bz2
Minor code cleanup.
Diffstat (limited to 'board/mcc200')
-rw-r--r--board/mcc200/auto_update.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/mcc200/auto_update.c b/board/mcc200/auto_update.c
index cd6b391..faa01bd 100644
--- a/board/mcc200/auto_update.c
+++ b/board/mcc200/auto_update.c
@@ -430,7 +430,7 @@ int do_auto_update(void)
bitmap_first = 0;
- /* validate the images first */
+ /* validate the images first */
for (i = 0; i < AU_MAXFILES; i++) {
ulong imsize;
/* just read the header */
@@ -448,7 +448,7 @@ int do_auto_update(void)
continue;
}
/* totsize accounts for image size and flash erase size */
- totsize += (imsize + (aufl_layout[i].end - aufl_layout[i].start));
+ totsize += (imsize + (aufl_layout[i].end - aufl_layout[i].start));
}
#ifdef CONFIG_PROGRESSBAR
@@ -470,8 +470,8 @@ int do_auto_update(void)
if (sz != ausize[i]) {
printf ("%s: size %d read %d?\n", aufile[i], ausize[i], sz);
- continue;
- }
+ continue;
+ }
if (sz <= 0 || sz <= sizeof(image_header_t)) {
debug ("%s not found\n", aufile[i]);