diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2007-02-27 14:26:04 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-02-27 14:26:04 +0100 |
commit | 743571145b37182757d4e688a77860b36ee77573 (patch) | |
tree | 3e2006c9f3a953532bb6a97d896390f03e58bd03 /board/mcc200/auto_update.c | |
parent | 638dd1458bbdc2a55d4b9e25c5c4e1f838a5dc72 (diff) | |
download | u-boot-imx-743571145b37182757d4e688a77860b36ee77573.zip u-boot-imx-743571145b37182757d4e688a77860b36ee77573.tar.gz u-boot-imx-743571145b37182757d4e688a77860b36ee77573.tar.bz2 |
Minor code cleanup.
Diffstat (limited to 'board/mcc200/auto_update.c')
-rw-r--r-- | board/mcc200/auto_update.c | 8 |
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]); |