public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Broken H3 EMAC Driver
@ 2016-05-30 14:12 Amit Tomer
  2016-05-31  4:53 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Amit Tomer @ 2016-05-30 14:12 UTC (permalink / raw)
  To: u-boot

Hello,

Trying to add support for H3 EMAC driver.

http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/261544

It was working well until commit "
b733c278d7adc48c71bd06faf359db3d9e385185" was introduced.

net: phy: Handle phy_startup() error codes properly

-       genphy_update_link(phydev);
-       genphy_parse_link(phydev);
+       int ret;
-       return 0;
+       ret = genphy_update_link(phydev);
+       if (ret)
+               return ret;

H3 based SoC's has an internal PHY which is different from having on board
external PHY and its operations doesn't depends upon the success of normal
PHY auto negotiation(Driver works well even if there is a PHY auto
negotiation TIMEOUT).

Please, let me know if it is worth reverting particular part of this patch
in order to make H3 EMAC driver work.

Thanks,
Amit.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-31  4:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-30 14:12 [U-Boot] Broken H3 EMAC Driver Amit Tomer
2016-05-31  4:53 ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox