From: Mike Frysinger Date: Thu, 13 Oct 2011 18:55:58 -0400 Subject: [U-Boot] [PATCH 6/8] AM35xx: add EMAC support In-Reply-To: <1318540312-24777-7-git-send-email-yanok@emcraft.com> References: <1318540312-24777-1-git-send-email-yanok@emcraft.com> <1318540312-24777-7-git-send-email-yanok@emcraft.com> Message-ID: <201110131855.59960.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 13 October 2011 17:11:50 Ilya Yanok wrote: > --- /dev/null > +++ b/arch/arm/cpu/armv7/omap3/emac.c > > +/* > + * Initializes on-chip ethernet controllers. > + * to override, implement board_eth_init() > + */ > +int cpu_eth_init(bd_t *bis) > +{ > + davinci_emac_initialize(); > + > + return 0; > +} shouldn't emac support always be up to the board porter and not the SoC code ? also, this should be: int cpu_eth_init(bd_t *bis) { return davinci_emac_initialize(); } -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20111013/02c93de5/attachment.pgp