From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Fri, 29 Aug 2008 13:23:13 -0700 Subject: [U-Boot] [PATCH][Re-Submit] Custom AFEB9260 board support In-Reply-To: <20080829200333.GB6190@game.jcrosoft.org> References: <1219998810587-git-send-email-slapin@ossfans.org> <12199996591365-git-send-email-slapin@ossfans.org> <48B83688.7030300@gmail.com> <20080829200333.GB6190@game.jcrosoft.org> Message-ID: <48B85AB1.1000500@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 >>> + >>> +#include >>> + >>> +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