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>
This commit is contained in:
Tsi-Chung Liew 2008-03-17 17:08:22 -05:00 committed by Ben Warren
parent f605479de2
commit 233a8bcd94

View 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