summaryrefslogtreecommitdiff
path: root/common/spl
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2016-11-16 01:40:27 (GMT)
committerTom Rini <trini@konsulko.com>2016-11-28 20:10:31 (GMT)
commit1deeecb6e41a42d0e24fec30d2bb74c56d7a0d9b (patch)
tree9c95c22ff8e70bb4c35e10f7834da461ca4e0434 /common/spl
parent5782954c2bd7e84730b1670095cdeba3a7618ece (diff)
downloadu-boot-fsl-qoriq-1deeecb6e41a42d0e24fec30d2bb74c56d7a0d9b.tar.xz
sun8i_emac: Fix mdio read sequence
To send a parametrized command to the PHY over MDIO, we should write the data first, the trigger the execution by the command register write. Fix the access pattern in our MDIO write routine. Apparently this doesn't really matter with the Realtek PHY on the Pine64, but other PHYs (which require more setup) will choke on the wrong order. [Andre: add commit message] Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'common/spl')
0 files changed, 0 insertions, 0 deletions