From: Tom Rini Date: Mon, 7 May 2012 15:50:36 -0700 Subject: [U-Boot] [PATCH] davinci: added Marvell 88E1111 PHY support In-Reply-To: <4FA4CEE0.6030709@byterg.ru> References: <1336129094-396-1-git-send-email-brilliantov@byterg.ru> <4FA40AB6.9070206@ti.com> <4FA4CEE0.6030709@byterg.ru> Message-ID: <20120507225036.GA12923@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, May 4, 2012 at 11:55 PM, Brilliantov Kirill Vladimirovich wrote: > Tom Rini wrote on 05/04/2012 08:58 PM: > > >> >> OK, we really need the emac driver converted to phylib (which already >> has this PHY it looks like). Any chance you would have time to try doing >> that? >> > > Tom, now I try modify driver/net/phy/marvell.c. > I add next defines in include/configs/davinci_dm365evn.h: > #define CONFIG_PHYLIB > #define CONFIG_PHY_MARVELL > > After starting U-Boot I see initializing Marvell driver, but I don't see > another functions, e.g. config or startup. > > How can I link phylib and TI_EMAC? The driver itself needs to be ported to PHYLIB. When I talked with others before about doing the conversion I was given the following patches to look at, as examples of drivers implementing PHYLIB support: http://patchwork.ozlabs.org/patch/80589/ http://patchwork.ozlabs.org/patch/114793/ -- Tom