X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=board%2Fatmel%2Fat91rm9200ek%2Fat91rm9200ek.c;fp=board%2Fatmel%2Fat91rm9200ek%2Fat91rm9200ek.c;h=570a09a0741b2ed7c1cd2d4e88c1f7bb663979d7;hb=c041e9d212162f6c85cd3b6a40ad6ba9d9292451;hp=ea684e949d080085c8456e14fd4f6c8f4d61e7e9;hpb=594d57d0ccce649d6ccd881b8d9c5ea8d0c307ef;p=karo-tx-uboot.git diff --git a/board/atmel/at91rm9200ek/at91rm9200ek.c b/board/atmel/at91rm9200ek/at91rm9200ek.c index ea684e949d..570a09a074 100644 --- a/board/atmel/at91rm9200ek/at91rm9200ek.c +++ b/board/atmel/at91rm9200ek/at91rm9200ek.c @@ -23,9 +23,14 @@ */ #include +#include +#include #include +#include +#if defined(CONFIG_DRIVER_ETHER) #include #include +#endif DECLARE_GLOBAL_DATA_PTR; @@ -84,3 +89,12 @@ void at91rm9200_GetPhyInterface(AT91PS_PhyOps p_phyops) p_phyops->AutoNegotiate = dm9161_AutoNegotiate; } #endif + +#ifdef CONFIG_DRIVER_AT91EMAC +int board_eth_init(bd_t *bis) +{ + int rc = 0; + rc = at91emac_register(bis, 0); + return rc; +} +#endif