[U-Boot] [PATCH][Re-Submit] Custom AFEB9260 board support

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri Aug 29 22:03:33 CEST 2008


Hi Ben,

>> + * along with this program; if not, write to the Free Software
>> + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
>> + * MA 02111-1307 USA
>> + */
>> +#include <common.h>
>> +
>> +#include <asm/arch/memory-map.h>
>> +
>> +extern int macb_eth_initialize(int id, void *regs, unsigned int phy_addr);
>> +
>> +#if defined(CONFIG_MACB) && defined(CONFIG_CMD_NET)
>> +void afeb9260_eth_initialize(bd_t *bi)
>> +{
>> +	macb_eth_initialize(0, (void *)AT91_BASE_EMAC, 0x01);
>> +}
>> +#endif
>> +
>>   
> This file is no longer needed.  Please follow the 'board_eth_init()'  
> method.  A good example is in:
> board/atmel/atngw100/atngw100.c
>
> Tonight I'll submit a patch that does this for all the at91 boards too.

I've send a first patch for at91 please use cpu_eth_init() instead of board
way

Best Regards,
J.


More information about the U-Boot mailing list