From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 9 Dec 2007 10:43:22 +0100 Subject: [U-Boot-Users] PATCH: support board-specific ethernet PHY init for ARM In-Reply-To: <475B1B68.2040905@discworld.dascon.de> References: <20071110152920.GA10872@discworld.dascon.de> <20071208124534.GB32116@game.jcrosoft.org> <475B1B68.2040905@discworld.dascon.de> Message-ID: <20071209094322.GC22305@game.jcrosoft.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 23:32 Sat 08 Dec , Michael Schwingen wrote: > Jean-Christophe PLAGNIOL-VILLARD wrote: > > The phy reset will be call in the mac layer drivers not in the board > > part. > > > It seems I am a bit lost in the network code. > As I see it, I have to place board-specific PHY reset code after the > call to eth_initialize in board.c, but before main_loop. If there is > already such a hook in generic code, could you please tell me where? I'm currently adding the last_stage_init support for IXP, you could add you're phy_reset until the new phylib arrive. The phylib may take care of phy_reset. Best Regards, J.-