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:
parent
f605479de2
commit
233a8bcd94
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user