diff options
author | Jon Povey <jon.povey@racelogic.co.uk> | 2010-05-13 12:20:20 +0900 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-05-16 13:55:01 +0200 |
commit | 5fd1c2db9ad43cc893d6287549262f82e6932e90 (patch) | |
tree | fc9e2508704b0135cb94b322afa8aa363e8dbe4d /src/flash/nand | |
parent | 76b81682eeea804518cf69c4d916ccc78c2f3093 (diff) | |
download | openocd_libswd-5fd1c2db9ad43cc893d6287549262f82e6932e90.tar.gz openocd_libswd-5fd1c2db9ad43cc893d6287549262f82e6932e90.tar.bz2 openocd_libswd-5fd1c2db9ad43cc893d6287549262f82e6932e90.tar.xz openocd_libswd-5fd1c2db9ad43cc893d6287549262f82e6932e90.zip |
Change kb/s to KiB/s in messages about kibibytes
Change download rate messages about kibibytes from "kb/s" to "KiB/s" units.
See: http://en.wikipedia.org/wiki/Data_rate_units
Signed-off-by: Jon Povey <jon.povey@racelogic.co.uk>
Diffstat (limited to 'src/flash/nand')
-rw-r--r-- | src/flash/nand/tcl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flash/nand/tcl.c b/src/flash/nand/tcl.c index 86dbd678..1272bf62 100644 --- a/src/flash/nand/tcl.c +++ b/src/flash/nand/tcl.c @@ -309,7 +309,7 @@ COMMAND_HANDLER(handle_nand_write_command) if (nand_fileio_finish(&s)) { command_print(CMD_CTX, "wrote file %s to NAND flash %s up to " - "offset 0x%8.8" PRIx32 " in %fs (%0.3f kb/s)", + "offset 0x%8.8" PRIx32 " in %fs (%0.3f KiB/s)", CMD_ARGV[1], CMD_ARGV[0], s.address, duration_elapsed(&s.bench), duration_kbps(&s.bench, total_bytes)); } @@ -369,7 +369,7 @@ COMMAND_HANDLER(handle_nand_verify_command) if (nand_fileio_finish(&file) == ERROR_OK) { command_print(CMD_CTX, "verified file %s in NAND flash %s " - "up to offset 0x%8.8" PRIx32 " in %fs (%0.3f kb/s)", + "up to offset 0x%8.8" PRIx32 " in %fs (%0.3f KiB/s)", CMD_ARGV[1], CMD_ARGV[0], dev.address, duration_elapsed(&file.bench), duration_kbps(&file.bench, dev.size)); } @@ -409,7 +409,7 @@ COMMAND_HANDLER(handle_nand_dump_command) if (nand_fileio_finish(&s) == ERROR_OK) { - command_print(CMD_CTX, "dumped %ld bytes in %fs (%0.3f kb/s)", + command_print(CMD_CTX, "dumped %ld bytes in %fs (%0.3f KiB/s)", (long)s.fileio.size, duration_elapsed(&s.bench), duration_kbps(&s.bench, s.fileio.size)); } |