From: Tom Rini Date: Fri, 7 Feb 2014 09:21:08 -0500 Subject: [U-Boot] [U-Boot, v2] net/designware - switch driver to phylib usage In-Reply-To: <1390409646-9602-1-git-send-email-abrodkin@synopsys.com> References: <1390409646-9602-1-git-send-email-abrodkin@synopsys.com> Message-ID: <20140207142108.GO7049@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 Wed, Jan 22, 2014 at 08:54:06PM +0400, Alexey Brodkin wrote: > With this change driver will benefit from existing phylib and thus > custom phy functionality implemented in the driver will go away: > * Instantiation of the driver is now much shorter - 2 parameters > instead of 4. > * Simplified phy management/functoinality in driver is replaced with > rich functionality of phylib. > * Support of custom phy initialization is now done with existing > "board_phy_config". > > Note that after this change some previously used config options > (driver-specific PHY configuration) will be obsolete and they are simply > substituted with similar options of phylib. > > For example: > * CONFIG_DW_AUTONEG - no need in this one. Autonegotiation is enabled > by default. > * CONFIG_DW_SEARCH_PHY - if one wants to specify attached phy > explicitly CONFIG_PHY_ADDR board config option has to be used, otherwise > automatically the first discovered on MDIO bus phy will be used > > I believe there's no need now in "doc/README.designware_eth" because > user only needs to instantiate the driver with "designware_initialize" > whose prototype exists in "include/netdev.h". > > Prerequisites are: > 1) http://patchwork.ozlabs.org/patch/313326/ > 2) http://patchwork.ozlabs.org/patch/309764/ > > Signed-off-by: Alexey Brodkin > > Cc: Joe Hershberger > Cc: Vipin Kumar > Cc: Stefan Roese > Cc: Mischa Jonker > Cc: Shiraz Hashim > Cc: Albert ARIBAUD > Cc: Amit Virdi > Cc: Sonic Zhang Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: