diff options
author | Wolfgang Denk <wd@denx.de> | 2007-08-13 21:57:53 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-08-13 21:57:53 +0200 |
commit | be5d72d10d47609326226225181e301fb9a33b58 (patch) | |
tree | d6f6537c7ca10a5a539ad32c4c158760107237ec /drivers/nand/nand_util.c | |
parent | a08458303e7f9db67f296980036d3292c35cb45c (diff) | |
download | u-boot-imx-be5d72d10d47609326226225181e301fb9a33b58.zip u-boot-imx-be5d72d10d47609326226225181e301fb9a33b58.tar.gz u-boot-imx-be5d72d10d47609326226225181e301fb9a33b58.tar.bz2 |
Minor coding style cleanup. Update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'drivers/nand/nand_util.c')
-rw-r--r-- | drivers/nand/nand_util.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/nand/nand_util.c b/drivers/nand/nand_util.c index aee8727..cf05043 100644 --- a/drivers/nand/nand_util.c +++ b/drivers/nand/nand_util.c @@ -209,7 +209,7 @@ int nand_erase_opts(nand_info_t *meminfo, const nand_erase_options_t *opts) } if (!opts->quiet) { - unsigned long long n =(unsigned long long) + unsigned long long n =(unsigned long long) (erase.addr+meminfo->erasesize-opts->offset) * 100; int percent = (int)do_div(n, erase_length); @@ -476,8 +476,8 @@ int nand_write_opts(nand_info_t *meminfo, const nand_write_options_t *opts) imglen -= readlen; if (!opts->quiet) { - unsigned long long n = (unsigned long long) - (opts->length-imglen) * 100; + unsigned long long n = (unsigned long long) + (opts->length-imglen) * 100; int percent = (int)do_div(n, opts->length); /* output progress message only at whole percent * steps to reduce the number of messages printed @@ -651,8 +651,8 @@ int nand_read_opts(nand_info_t *meminfo, const nand_read_options_t *opts) } if (!opts->quiet) { - unsigned long long n = (unsigned long long) - (opts->length-imglen) * 100; + unsigned long long n = (unsigned long long) + (opts->length-imglen) * 100; int percent = (int)do_div(n ,opts->length); /* output progress message only at whole percent * steps to reduce the number of messages printed |