diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-02-26 13:40:17 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-03-02 08:10:51 +0100 |
commit | 5cf4c736c1625fe3b532bb2d1d8318f35a2034a7 (patch) | |
tree | b268f3642e81c550473d459634285317a0eef5b3 /firmware | |
parent | d64a4e22cea8144f01a9b15c9ab518a4903afa76 (diff) | |
download | barebox-5cf4c736c1625fe3b532bb2d1d8318f35a2034a7.tar.gz |
net: designware: eqos: mimic Linux gmac4 mdio_{read, write}
The code was ported over from U-Boot and has some things different than
the Kernel driver:
- It reads ->mdio_address, but the kernel driver doesn't
- It doesn't write ->mdio_data in a read, but the kernel driver does
- It has delays in addition to spinning on MII_BUSY, but the kernel driver
doesn't
Adopt the same flow as used by the kernel.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions