summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2020-07-28 17:56:33 +0200
committerTom Rini <[email protected]>2020-08-05 08:18:34 -0400
commit5ce2776ae63326807bc504fcfed24997c2a03bb2 (patch)
treecb4b6edc8703db4a20bcf32babe0e369d3648b28 /include/linux
parentf2d58f3bdad30ac088f76cce38a2e64a6c640f19 (diff)
cmd: bdinfo: cleanup phys_addr_t output
We currently print the memory size with at least 8 hexadecimal digits. This creates a ragged output on 64 bit boards, e.g. on a Kendryte K210: DRAM bank = 0x0000000000000002 -> start = 0x0000000080600000 -> size = 0x0000000000200000 memstart = 0x0000000000000000 memsize = 0x00000000 flashstart = 0x0000000000000000 flashsize = 0x0000000000000000 flashoffset = 0x0000000000000000 All other numbers are printed with the number of digits needed for the type ulong. So use this value as minimum number of digits (precision) for printing physical addresses. Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Heiko Schocher <[email protected]> Reviewed-by: Stefan Roese <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions