@ -147,7 +147,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
# ifdef CONFIG_HERMES
print_mhz ( " ethspeed " , bd - > bi_ethspeed ) ;
# endif
printf ( " IP addr = %pI4 \n " , & bd - > bi_ip_addr ) ;
printf ( " IP addr = %s \n " , getenv ( " ipaddr " ) ) ;
printf ( " baudrate = %6ld bps \n " , bd - > bi_baudrate ) ;
print_num ( " relocaddr " , gd - > relocaddr ) ;
return 0 ;
@ -172,7 +172,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
# if defined(CONFIG_CMD_NET)
print_eth ( 0 ) ;
printf ( " ip_addr = %pI4 \n " , & bd - > bi_ip_addr ) ;
printf ( " ip_addr = %s \n " , getenv ( " ipaddr " ) ) ;
# endif
printf ( " baudrate = %ld bps \n " , bd - > bi_baudrate ) ;
@ -196,7 +196,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
# endif
# if defined(CONFIG_CMD_NET)
print_eth ( 0 ) ;
printf ( " ip_addr = %pI4 \n " , & bd - > bi_ip_addr ) ;
printf ( " ip_addr = %s \n " , getenv ( " ipaddr " ) ) ;
# endif
printf ( " baudrate = %ld bps \n " , ( ulong ) bd - > bi_baudrate ) ;
return 0 ;
@ -229,7 +229,7 @@ int do_bdinfo(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
# if defined(CONFIG_CMD_NET)
print_eth ( 0 ) ;
printf ( " ip_addr = %pI4 \n " , & bd - > bi_ip_addr ) ;
printf ( " ip_addr = %s \n " , getenv ( " ipaddr " ) ) ;
# endif
printf ( " baudrate = %6ld bps \n " , bd - > bi_baudrate ) ;
return 0 ;
@ -275,7 +275,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
print_eth ( 3 ) ;
# endif
printf ( " ip_addr = %pI4 \n " , & bd - > bi_ip_addr ) ;
printf ( " ip_addr = %s \n " , getenv ( " ipaddr " ) ) ;
# endif
printf ( " baudrate = %ld bps \n " , bd - > bi_baudrate ) ;
@ -303,7 +303,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
print_num ( " flashoffset " , ( ulong ) bd - > bi_flashoffset ) ;
print_eth ( 0 ) ;
printf ( " ip_addr = %pI4 \n " , & bd - > bi_ip_addr ) ;
printf ( " ip_addr = %s \n " , getenv ( " ipaddr " ) ) ;
printf ( " baudrate = %d bps \n " , bd - > bi_baudrate ) ;
return 0 ;
@ -323,7 +323,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
print_num ( " flashoffset " , ( ulong ) bd - > bi_flashoffset ) ;
print_eth ( 0 ) ;
printf ( " ip_addr = %pI4 \n " , & bd - > bi_ip_addr ) ;
printf ( " ip_addr = %s \n " , getenv ( " ipaddr " ) ) ;
printf ( " baudrate = %d bps \n " , bd - > bi_baudrate ) ;
return 0 ;
@ -343,7 +343,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
print_num ( " flashoffset " , ( ulong ) bd - > bi_flashoffset ) ;
print_eth ( 0 ) ;
printf ( " ip_addr = %pI4 \n " , & bd - > bi_ip_addr ) ;
printf ( " ip_addr = %s \n " , getenv ( " ipaddr " ) ) ;
printf ( " baudrate = %lu bps \n " , bd - > bi_baudrate ) ;
return 0 ;
@ -367,7 +367,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
# if defined(CONFIG_CMD_NET)
print_eth ( 0 ) ;
printf ( " ip_addr = %pI4 \n " , & bd - > bi_ip_addr ) ;
printf ( " ip_addr = %s \n " , getenv ( " ipaddr " ) ) ;
# endif
printf ( " baudrate = %d bps \n " , bd - > bi_baudrate ) ;
# if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF))
@ -403,7 +403,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
# if defined(CONFIG_CMD_NET)
print_eth ( 0 ) ;
printf ( " ip_addr = %pI4 \n " , & bd - > bi_ip_addr ) ;
printf ( " ip_addr = %s \n " , getenv ( " ipaddr " ) ) ;
# endif
printf ( " baudrate = %ld bps \n " , ( ulong ) bd - > bi_baudrate ) ;
return 0 ;
@ -436,7 +436,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
# if defined(CONFIG_CMD_NET)
print_eth ( 0 ) ;
printf ( " ip_addr = %pI4 \n " , & bd - > bi_ip_addr ) ;
printf ( " ip_addr = %s \n " , getenv ( " ipaddr " ) ) ;
print_mhz ( " ethspeed " , bd - > bi_ethspeed ) ;
# endif
printf ( " baudrate = %d bps \n " , bd - > bi_baudrate ) ;
@ -461,7 +461,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
# if defined(CONFIG_CMD_NET)
print_eth ( 0 ) ;
printf ( " ip_addr = %pI4 \n " , & bd - > bi_ip_addr ) ;
printf ( " ip_addr = %s \n " , getenv ( " ipaddr " ) ) ;
# endif
print_num ( " FB base " , gd - > fb_base ) ;
return 0 ;
@ -485,7 +485,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
# if defined(CONFIG_CMD_NET)
print_eth ( 0 ) ;
printf ( " ip_addr = %pI4 \n " , & bd - > bi_ip_addr ) ;
printf ( " ip_addr = %s \n " , getenv ( " ipaddr " ) ) ;
# endif
printf ( " baudrate = %d bps \n " , bd - > bi_baudrate ) ;
@ -506,7 +506,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
# if defined(CONFIG_CMD_NET)
print_eth ( 0 ) ;
printf ( " ip_addr = %pI4 \n " , & bd - > bi_ip_addr ) ;
printf ( " ip_addr = %s \n " , getenv ( " ipaddr " ) ) ;
# endif
printf ( " baudrate = %ld bps \n " , bd - > bi_baudrate ) ;