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

Ben Warren biggerbadderben at gmail.com
Fri Aug 29 22:23:13 CEST 2008


Jean-Christophe PLAGNIOL-VILLARD wrote:
> 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.
>   
I wish my local repo was accessible from here, but there was a reason I 
went with board_eth_init() on the AT91 and can't remember what it was.  
I'll have a look tonight.

regards,
Ben


More information about the U-Boot mailing list