ethernet: phy init timeout
authormorris <maoshengrong@espressif.com>
Tue, 4 Dec 2018 09:13:48 +0000 (17:13 +0800)
committermorris <maoshengrong@espressif.com>
Wed, 5 Dec 2018 08:32:24 +0000 (16:32 +0800)
commita338c1b71296f1f698b54649160192c42b945b7f
treee412eb057deeeff90ef20542fd50a178852e3b61
parent0b21be508e090cc85692402d7955f1045f984523
ethernet: phy init timeout

When ethernet enable again after disable it before, phy init will report timeout.
The cause of this problem is that the enabling of emac clock is too late, and should be placed before phy init.
components/ethernet/emac_main.c