summaryrefslogtreecommitdiffstats
path: root/common/cmd_mii.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-08-21 16:33:33 +0200
committerStefan Roese <sr@denx.de>2007-08-21 16:33:33 +0200
commit93f798346033a1f6d22090b47abad4be88243b04 (patch)
tree45b4d2a887a89572015de3234b04b419bfc11b44 /common/cmd_mii.c
parent3ad63878737a5a2b1e60825bf0a7d601d7a695e7 (diff)
parent3e66c078003607a7d1d214c15a5f262bc1b4032f (diff)
downloadtalos-obmc-uboot-93f798346033a1f6d22090b47abad4be88243b04.tar.gz
talos-obmc-uboot-93f798346033a1f6d22090b47abad4be88243b04.zip
Merge with /home/stefan/git/u-boot/u-boot-ppc4xx
Diffstat (limited to 'common/cmd_mii.c')
-rw-r--r--common/cmd_mii.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/cmd_mii.c b/common/cmd_mii.c
index e6595360cb..72e11d5442 100644
--- a/common/cmd_mii.c
+++ b/common/cmd_mii.c
@@ -28,7 +28,7 @@
#include <common.h>
#include <command.h>
-#if (CONFIG_COMMANDS & CFG_CMD_MII)
+#if defined(CONFIG_CMD_MII)
#include <miiphy.h>
#ifdef CONFIG_TERSE_MII
@@ -438,7 +438,7 @@ int do_mii (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
int rcode = 0;
char *devname;
-#ifdef CONFIG_8xx
+#if defined(CONFIG_8xx) || defined(CONFIG_MCF532x)
mii_init ();
#endif
@@ -595,4 +595,4 @@ U_BOOT_CMD(
#endif /* CONFIG_TERSE_MII */
-#endif /* CFG_CMD_MII */
+#endif
OpenPOWER on IntegriCloud