summaryrefslogtreecommitdiff
path: root/common/cmd_bdinfo.c
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2008-02-13 18:36:27 -0600
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-02-13 18:36:27 -0600
commitd1bcf9e53b41dfa4be6943b739ee82627a0a6d31 (patch)
tree981e6e8d1b9f40e566d97340fcd0c20740cabe78 /common/cmd_bdinfo.c
parented2cf548cac80cd3cf8154dcfe7b2685bef45938 (diff)
parent10bbb38a402a2faf18858c451bcdc63d45888e6e (diff)
downloadu-boot-imx-d1bcf9e53b41dfa4be6943b739ee82627a0a6d31.zip
u-boot-imx-d1bcf9e53b41dfa4be6943b739ee82627a0a6d31.tar.gz
u-boot-imx-d1bcf9e53b41dfa4be6943b739ee82627a0a6d31.tar.bz2
Merge branch 'denx'
Diffstat (limited to 'common/cmd_bdinfo.c')
-rw-r--r--common/cmd_bdinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
index c28a155..4e77461 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -316,6 +316,7 @@ int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
print_num("-> size", bd->bi_dram[i].size);
}
+#if defined(CONFIG_CMD_NET)
puts ("ethaddr =");
for (i=0; i<6; ++i) {
printf ("%c%02X", i ? ':' : ' ', bd->bi_enetaddr[i]);
@@ -323,6 +324,7 @@ int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
puts ( "\n"
"ip_addr = ");
print_IPaddr (bd->bi_ip_addr);
+#endif
printf ("\n"
"baudrate = %d bps\n", bd->bi_baudrate);