summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTsi-Chung Liew <Tsi-Chung.Liew@freescale.com>2008-03-17 17:08:22 -0500
committerBen Warren <biggerbadderben@gmail.com>2008-03-30 00:15:35 -0400
commit233a8bcd94997f3f345833a3b82e836222f2a206 (patch)
treede17207b6936d2aabda02a3f63851e8505137479
parentf605479de2deb11e834f31dfdb0af107c86aced6 (diff)
Add CONFIG_MII_INIT in cmd_mii.c
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>
-rw-r--r--common/cmd_mii.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_mii.c b/common/cmd_mii.c
index 31ac43db58..8ca5af5017 100644
--- a/common/cmd_mii.c
+++ b/common/cmd_mii.c
@@ -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