bdinfo: Drop print_std_bdinfo()
Everything in this function is standard now so it serves no purpose. Move
it into the generic do_bdinfo() function.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index f4f1ba7..77a0cf1 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
@@ -148,15 +148,6 @@
#endif
}
-static void print_std_bdinfo(const bd_t *bd)
-{
- print_bi_boot_params(bd);
- print_bi_mem(bd);
- print_bi_flash(bd);
- print_eth_ip_addr();
- print_baudrate();
-}
-
void __weak board_detail(void)
{
/* Please define board_detail() for your PPC platform */
@@ -171,8 +162,12 @@
#endif
if (IS_ENABLED(CONFIG_ARM))
print_num("arch_number", bd->bi_arch_number);
+ print_bi_boot_params(bd);
print_bi_dram(bd);
- print_std_bdinfo(bd);
+ print_bi_mem(bd);
+ print_bi_flash(bd);
+ print_eth_ip_addr();
+ print_baudrate();
print_num("relocaddr", gd->relocaddr);
print_num("reloc off", gd->reloc_off);
print_cpu_word_size();