[U-Boot] PATCH: Fix MPC8260 with ethernet on SCC

Ben Warren biggerbadderben at gmail.com
Sat Feb 7 01:44:40 CET 2009


ksi at koi8.net wrote:
> This fixes MPC8260 compilation with ethernet on SCC. Probably was a
> typo or something...
>
> Signed-off-by: Sergey Kubushyn <ksi at koi8.net>
> ---
> diff -purN u-boot.orig/cpu/mpc8260/cpu.c u-boot/cpu/mpc8260/cpu.c
> --- u-boot.orig/cpu/mpc8260/cpu.c	2009-02-02 13:39:05.000000000 -0800
> +++ u-boot/cpu/mpc8260/cpu.c	2009-02-06 15:29:28.000000000 -0800
> @@ -327,7 +327,7 @@ int cpu_eth_init(bd_t *bis)
>  	fec_initialize(bis);
>  #endif
>  #if defined(CONFIG_ETHER_ON_SCC)
> -	mpc82xx_scc_enet_initialize(bd);
> +	mpc82xx_scc_enet_initialize(bis);
>  #endif
>  	return 0;
>  }
>   
Nice catch.  I'll apply it tonight.

regards,
Ben


More information about the U-Boot mailing list