[U-Boot] [PATCH] Gbe Controller driver support for kirkwood SOCs
Mike Frysinger
vapier at gentoo.org
Fri Apr 3 20:02:39 CEST 2009
On Friday 03 April 2009 18:39:28 Prafulla Wadaskar wrote:
> --- a/net/eth.c
> +++ b/net/eth.c
> @@ -73,6 +73,7 @@ int board_eth_init(bd_t *bis) __attribute((weak,
> alias("__def_eth_init")));
>
> extern int mv6436x_eth_initialize(bd_t *);
> extern int mv6446x_eth_initialize(bd_t *);
> +extern int kirkwood_egiga_initialize(bd_t*);
>
> #ifdef CONFIG_API
> extern void (*push_packet)(volatile void *, int);
> @@ -205,6 +206,9 @@ int eth_initialize(bd_t *bis)
> #if defined(CONFIG_DB64460) || defined(CONFIG_P3Mx)
> mv6446x_eth_initialize(bis);
> #endif
> +#ifdef CONFIG_KIRKWOOD_EGIGA
> + kirkwood_egiga_initialize(bis);
> +#endif
> if (!eth_devices) {
> puts ("No ethernet found.\n");
> show_boot_progress (-64);
this should be dying, not new additions. define board_eth_init() like
everyone else now.
-mike
More information about the U-Boot
mailing list