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

Ben Warren bwarren at qstreams.com
Sun Mar 30 06:16:48 CEST 2008


Tsi-Chung Liew wrote:
> 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
>  
>   
Applied to net tree.

thanks,
Ben




More information about the U-Boot mailing list