ColdFire: Fix some remaining problems with CFG_CMD_

Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
Stefan Roese 2007-08-18 14:37:52 +02:00
parent 8280f6a1c4
commit 26667b7fa0
3 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -78,7 +78,7 @@ CONFIG_MCFRTC -- define to use common CF RTC driver
CFG_MCFRTC_BASE -- provide base address for RTC in immap.h
CFG_RTC_OSCILLATOR -- define RTC clock frequency
RTC_DEBUG -- define to show RTC debug message
CFG_CMD_DATE -- enable to use date feature in u-boot
CONFIG_CMD_DATE -- enable to use date feature in u-boot
CONFIG_MCFFEC -- define to use common CF FEC driver
CONFIG_NET_MULTI -- define to use multi FEC in u-boot

View File

@ -235,8 +235,8 @@
"2m(rootfs)," \
"-(user)";
#if (CONFIG_COMMANDS & CFG_CMD_MII)
#error MII commands don't work on iDMR board and sholud not be enabled.
#endif /* (CONFIG_COMMANDS & CFG_CMD_MII) */
#if defined(CONFIG_CMD_MII)
#error "MII commands don't work on iDMR board and should not be enabled."
#endif
#endif /* _IDMR_H */