diff options
| author | Ovidiu Panait <[email protected]> | 2022-08-29 20:02:04 +0300 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2022-09-13 11:32:48 +0200 |
| commit | ae90d16ac78a2d7bd0327f71c26b46b5182315d3 (patch) | |
| tree | 2ae7c84ffeecf2e751382c2b4b412a307531b87c /doc/develop | |
| parent | 3f351cd358a3581844f3cacdfe60710bf925d75d (diff) | |
cmd: bdinfo: introduce bdinfo_print_size() helper
Add bdinfo_print_size() helper to display size variables (such as cache
sizes) in bdinfo format. The size is printed as "xxx Bytes", "xxx KiB",
"xxx MiB", "xxx GiB", etc as needed;
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Ovidiu Panait <[email protected]>
Reviewed-by: Jason Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
