]> git.sur5r.net Git - u-boot/commitdiff
Add CONFIG_MII_INIT in cmd_mii.c
authorTsi-Chung Liew <Tsi-Chung.Liew@freescale.com>
Mon, 17 Mar 2008 22:08:22 +0000 (17:08 -0500)
committerBen Warren <biggerbadderben@gmail.com>
Sun, 30 Mar 2008 04:15:35 +0000 (00:15 -0400)
Provide common configuration in do_mii() to execute mii_init()
for all cpu architectures

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
common/cmd_mii.c

index 31ac43db588849ebbedbed7f06537ac674cfd32c..8ca5af501797ef2061b0ddedf3c54a74c30ede41 100644 (file)
@@ -306,7 +306,7 @@ int do_mii (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
                return 1;
        }
 
-#if defined(CONFIG_8xx) || defined(CONFIG_MCF532x)
+#if defined(CONFIG_8xx) || defined(CONFIG_MCF532x || defined(CONFIG_MII_INIT))
        mii_init ();
 #endif