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
@@ -709,7 +709,7 @@ static int em357_probe(struct flash_bank *bank)
|
||||
|
||||
em357_info->ppage_size = 4;
|
||||
|
||||
LOG_INFO("flash size = %dkbytes", num_pages*page_size/1024);
|
||||
LOG_INFO("flash size = %d KiB", num_pages*page_size/1024);
|
||||
|
||||
free(bank->sectors);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user