summaryrefslogtreecommitdiff
path: root/common/cmd_bdinfo.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-08-18 14:37:52 +0200
committerStefan Roese <sr@denx.de>2007-08-18 14:37:52 +0200
commit26667b7fa05a8bf2fc65fb9f3230b02b1a10c367 (patch)
tree4d60042cf02b3410f9b7fe2579e74177b3318210 /common/cmd_bdinfo.c
parent8280f6a1c43247616b68224675188e5ccd124650 (diff)
downloadu-boot-imx-26667b7fa05a8bf2fc65fb9f3230b02b1a10c367.zip
u-boot-imx-26667b7fa05a8bf2fc65fb9f3230b02b1a10c367.tar.gz
u-boot-imx-26667b7fa05a8bf2fc65fb9f3230b02b1a10c367.tar.bz2
ColdFire: Fix some remaining problems with CFG_CMD_
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'common/cmd_bdinfo.c')
-rw-r--r--common/cmd_bdinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
index 7686080..ef15a00 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -237,7 +237,7 @@ int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
print_str ("inpfreq", strmhz(buf, bd->bi_inpfreq));
print_str ("vcofreq", strmhz(buf, bd->bi_vcofreq));
#endif
-#if defined(CFG_CMD_NET)
+#if defined(CONFIG_CMD_NET)
puts ("ethaddr =");
for (i=0; i<6; ++i) {
printf ("%c%02X", i ? ':' : ' ', bd->bi_enetaddr[i]);
@@ -266,7 +266,7 @@ int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
puts ("\nip_addr = ");
print_IPaddr (bd->bi_ip_addr);
-#endif /* CONFIG_CMD_NET */
+#endif
printf ("\nbaudrate = %d bps\n", bd->bi_baudrate);
return 0;