summaryrefslogtreecommitdiff
path: root/common/cmd_mii.c
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 /common/cmd_mii.c
parentf605479de2deb11e834f31dfdb0af107c86aced6 (diff)
downloadu-boot-imx-233a8bcd94997f3f345833a3b82e836222f2a206.zip
u-boot-imx-233a8bcd94997f3f345833a3b82e836222f2a206.tar.gz
u-boot-imx-233a8bcd94997f3f345833a3b82e836222f2a206.tar.bz2
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>
Diffstat (limited to 'common/cmd_mii.c')
-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 31ac43d..8ca5af5 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