Introduce phy_{read|write}_mmd() helpers and modify the mdio command to make good use of them. Fix the ti driver in the same patchset.
Carlo Caione (3): net: phy: Add generic helpers to access MMD PHY registers net: phy: ti: use generic helpers to access MMD registers cmd: mdio: Switch to generic helpers when accessing the registers cmd/mdio.c | 27 +++++---- drivers/net/phy/phy.c | 4 ++ drivers/net/phy/ti.c | 130 ++++++++---------------------------------- include/phy.h | 70 +++++++++++++++++++++++ 4 files changed, 115 insertions(+), 116 deletions(-) -- 2.19.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot