On Fri, May 4, 2012 at 11:55 PM, Brilliantov Kirill Vladimirovich <[email protected]> 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 _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

