flash: nor: use binary prefixes consistently
When printing memory sizes standard ISO 80000-1 prefixes should be used. Also a space should be added between any number and its unit according to papers publication rules. Change-Id: Id1d35e210766b55c201de4e80ac165d8d0414d0a Signed-off-by: Paul Fertser <fercerpav@gmail.com> Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: https://review.openocd.org/c/openocd/+/6416 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
f77c919cf4
commit
66d6f9a1e7
@@ -312,7 +312,7 @@ static int w600_probe(struct flash_bank *bank)
|
||||
flash_size = 1 << flash_size;
|
||||
}
|
||||
|
||||
LOG_INFO("flash size = %" PRIu32 "kbytes", flash_size / 1024);
|
||||
LOG_INFO("flash size = %" PRIu32 " KiB", flash_size / 1024);
|
||||
|
||||
/* calculate numbers of pages */
|
||||
size_t num_pages = flash_size / W600_FLASH_SECSIZE;
|
||||
|
||||
Reference in New Issue
Block a user