#endif
}
+static inline void print_baudrate(void)
+{
+#if defined(CONFIG_PPC)
+ printf("baudrate = %6u bps\n", gd->baudrate);
+#elif defined(CONFIG_SPARC)
+ printf("baudrate = %6u bps\n", gd->baudrate);
+#else
+ printf("baudrate = %u bps\n", gd->baudrate);
+#endif
+}
+
#if defined(CONFIG_PPC)
void __weak board_detail(void)
{
#endif
print_eth_ip_addr();
- printf("baudrate = %6u bps\n", gd->baudrate);
+ print_baudrate();
print_num("relocaddr", gd->relocaddr);
board_detail();
return 0;
#endif
print_eth_ip_addr();
- printf("baudrate = %u bps\n", gd->baudrate);
+ print_baudrate();
return 0;
}
#if defined(CONFIG_CMD_NET) && !defined(CONFIG_DM_ETH)
print_eths();
#endif
- printf("baudrate = %u bps\n", gd->baudrate);
+ print_baudrate();
print_num("relocaddr", gd->relocaddr);
print_num("reloc off", gd->reloc_off);
print_num("fdt_blob", (ulong)gd->fdt_blob);
GENERATED_GBL_DATA_SIZE);
print_eth_ip_addr();
- printf("baudrate = %6u bps\n", gd->baudrate);
+ print_baudrate();
return 0;
}
print_mhz("vcofreq", bd->bi_vcofreq);
#endif
print_eth_ip_addr();
- printf("baudrate = %u bps\n", gd->baudrate);
+ print_baudrate();
return 0;
}
print_bi_mem(bd);
print_bi_flash(bd);
print_eth_ip_addr();
- printf("baudrate = %u bps\n", gd->baudrate);
+ print_baudrate();
return 0;
}
print_bi_mem(bd);
print_bi_flash(bd);
print_eth_ip_addr();
- printf("baudrate = %u bps\n", gd->baudrate);
+ print_baudrate();
print_num("relocaddr", gd->relocaddr);
print_num("reloc off", gd->reloc_off);
print_bi_mem(bd);
print_bi_flash(bd);
print_eth_ip_addr();
- printf("baudrate = %u bps\n", gd->baudrate);
+ print_baudrate();
return 0;
}
#if defined(CONFIG_CMD_NET) && !defined(CONFIG_DM_ETH)
print_eths();
#endif
- printf("baudrate = %u bps\n", gd->baudrate);
+ print_baudrate();
#if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF))
print_num("TLB addr", gd->arch.tlb_addr);
#endif
print_bi_mem(bd);
print_bi_flash(bd);
print_eth_ip_addr();
- printf("baudrate = %u bps\n", gd->baudrate);
+ print_baudrate();
return 0;
}
print_eth_ip_addr();
print_mhz("ethspeed", bd->bi_ethspeed);
#endif
- printf("baudrate = %u bps\n", gd->baudrate);
+ print_baudrate();
return 0;
}
print_bi_boot_params(bd);
print_bi_dram(bd);
print_eth_ip_addr();
- printf("baudrate = %u bps\n", gd->baudrate);
+ print_baudrate();
return 0;
}
print_bi_mem(bd);
print_bi_flash(bd);
print_eth_ip_addr();
- printf("baudrate = %u bps\n", gd->baudrate);
+ print_baudrate();
return 0;
}
print_bi_mem(bd);
print_eth_ip_addr();
- printf("baudrate = %d bps\n", gd->baudrate);
+ print_baudrate();
return 0;
}