summaryrefslogtreecommitdiff
path: root/arch/m68k
diff options
context:
space:
mode:
authorBin Meng <bin.meng@windriver.com>2021-01-31 20:36:05 +0800
committerSimon Glass <sjg@chromium.org>2021-02-03 03:38:41 -0700
commit98592c7509278e73b2d56c5e307015d6f33c0f34 (patch)
tree809adad6c46716e8d0cf73e25b679298e3b45b2f /arch/m68k
parent86c915628d582a36029ff1f6c4443b6e81e0d51f (diff)
downloadu-boot-98592c7509278e73b2d56c5e307015d6f33c0f34.tar.gz
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>
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/lib/bdinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/lib/bdinfo.c b/arch/m68k/lib/bdinfo.c
index 404e5f19ed..92ea175202 100644
--- a/arch/m68k/lib/bdinfo.c
+++ b/arch/m68k/lib/bdinfo.c
@@ -38,7 +38,7 @@ void arch_print_bdinfo(void)
bdinfo_print_mhz("busfreq", bd->bi_busfreq);
#if defined(CONFIG_SYS_MBAR)
- bdinfo_print_num("mbar", bd->bi_mbar_base);
+ bdinfo_print_num_l("mbar", bd->bi_mbar_base);
#endif
bdinfo_print_mhz("cpufreq", bd->bi_intfreq);
if (IS_ENABLED(CONFIG_PCI))