[U-Boot-Users] [PATCH] Add CONFIG_MII_INIT in cmd_mii.c

Tsi-Chung Liew Tsi-Chung.Liew at freescale.com
Fri Mar 21 00:26:39 CET 2008


From: TsiChung Liew <Tsi-Chung.Liew at freescale.com>

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..fa753dd 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