diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2019-11-15 08:32:38 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-11-15 14:40:44 +0100 |
commit | b004955a303df0ae31911241e017ae486288dcde (patch) | |
tree | c86700a52682a2152aa714758b0d2e97948c5e1c /Kbuild | |
parent | 76ace47bfc9c233471af14d441c2f5a1d8bf4b53 (diff) | |
download | barebox-b004955a303df0ae31911241e017ae486288dcde.tar.gz barebox-b004955a303df0ae31911241e017ae486288dcde.tar.xz |
net: designware: eqos: enable clocks before mdio_register
We can't be using the MAC including the MDIO controller while the clocks
are off, but this is exactly the case when mdio_register is called and
the interface is not yet up. To allow reading the PHY id to succeed
before the interface is up, turn on the clocks as part of the
initialization in the probe.
This fixes following error at probe time:
ERROR: <NULL>: MDIO not idle at entry
The NULL is fixed in a follow-up commit.
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions