This function outputs the same basic info. Since the baud rate is commonly
115200 these is often no difference. Drop the arch-specific code and
inline it to avoid a one-line function.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
#endif
}
-static void print_baudrate(void)
-{
-#if defined(CONFIG_PPC)
- printf("baudrate = %6u bps\n", gd->baudrate);
-#else
- printf("baudrate = %u bps\n", gd->baudrate);
-#endif
-}
-
void __weak board_detail(void)
{
/* Please define board_detail() for your PPC platform */
print_bi_mem(bd);
print_bi_flash(bd);
print_eth_ip_addr();
- print_baudrate();
+ printf("baudrate = %u bps\n", gd->baudrate);
print_num("relocaddr", gd->relocaddr);
print_num("reloc off", gd->reloc_off);
print_cpu_word_size();