Wenyou Yang 6de046eaa7 net: macb: Fix GMAC not work when enable DM_ETH
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 <wenyou.yang@atmel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2017-06-02 14:44:19 -05:00
..
2017-06-01 07:03:01 -06:00
2016-10-23 18:33:18 -04:00
2017-06-01 07:03:01 -06:00
2016-12-04 13:55:01 -05:00
2016-02-05 12:47:23 +08:00
2017-06-01 07:03:01 -06:00
2017-06-01 07:03:01 -06:00
2016-12-16 17:15:27 +01:00
2017-06-01 07:03:01 -06:00
2016-02-06 12:00:59 +01:00
2014-04-18 10:42:30 -04:00
2015-08-11 13:27:15 -05:00
2016-08-15 15:29:03 -05:00
2016-05-02 18:37:09 -04:00
2015-11-05 08:22:21 +01:00
2016-09-21 15:04:32 +02:00
2017-06-01 07:03:10 -06:00
2017-06-01 07:03:01 -06:00
2016-08-15 15:29:03 -05:00
2015-09-11 17:14:43 -04:00
2017-04-05 13:52:01 -04:00
2017-06-01 07:03:01 -06:00
2017-06-01 07:03:01 -06:00