Re: [U-Boot] [PATCH v2] net: macb: Fix GMAC not work when enable DM_ETH

2017-05-30 Thread Joe Hershberger
On Wed, Apr 19, 2017 at 10:13 PM, Wenyou Yang wrote: > Always search the PHY to determine the macb->phy_addr before using > the PHY to fix "No PHY present" error. > > Fix the wrong test of the GMAC's phy interface mode, it should be > PHY_INTERFACE_MODE_RGMII. > > Signed-off-by: Wenyou Yang > Rev

[U-Boot] [PATCH v2] net: macb: Fix GMAC not work when enable DM_ETH

2017-04-19 Thread Wenyou Yang
Always search the PHY to determine the macb->phy_addr before using the PHY to fix "No PHY present" error. Fix the wrong test of the GMAC's phy interface mode, it should be PHY_INTERFACE_MODE_RGMII. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v2: - Fix the wrong missed R