[U-Boot-Users] [PATCH] Add CONFIG_MII_INIT in cmd_mii.c
Tsi-Chung Liew
Tsi-Chung.Liew at freescale.com
Mon Mar 17 23:08:22 CET 2008
Provide common configuration in do_mii() to execute mii_init()
for all cpu architectures
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew at freescale.com>
---
common/cmd_mii.c | 2 +-
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
--
1.5.4.1
More information about the U-Boot
mailing list