]> git.dujemihanovic.xyz Git - u-boot.git/commit
bdinfo: Rename function names to be clearer
authorBin Meng <bin.meng@windriver.com>
Sun, 31 Jan 2021 12:36:05 +0000 (20:36 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 3 Feb 2021 10:38:41 +0000 (03:38 -0700)
commit98592c7509278e73b2d56c5e307015d6f33c0f34
tree809adad6c46716e8d0cf73e25b679298e3b45b2f
parent86c915628d582a36029ff1f6c4443b6e81e0d51f
bdinfo: Rename function names to be clearer

At present we have bdinfo_print_num() to print unsigned long numbers.
We also have print_phys_addr() which accept numbers that might be
64-bit on a 32-bit platform.

Rename these 2 functions to be clearer:

bdinfo_print_num() => bdinfo_print_num_l()
print_phys_addr()  => bdinfo_print_num_ll()

While we are here, make bdinfo_print_num_ll() public so that it can
be used outside cmd/bdinfo.c in the future.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
arch/arm/lib/bdinfo.c
arch/m68k/lib/bdinfo.c
arch/powerpc/lib/bdinfo.c
cmd/bdinfo.c
include/init.h