]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: mdio: Switch to generic helpers when accessing the registers
authorCarlo Caione <ccaione@baylibre.com>
Fri, 8 Feb 2019 17:25:08 +0000 (17:25 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 7 May 2019 19:51:55 +0000 (14:51 -0500)
commit874cd75a25ca72254567128cebff23fd9584b495
tree467b34b21a33f0d936713a543f2c84497b0f5c02
parent00a63c699605fd304b3627a83cbf7c8b6109b489
cmd: mdio: Switch to generic helpers when accessing the registers

Switch to use the generic helpers to access the MMD registers so that we
can used the same command also for C45 PHYs, C22 PHYs with direct and
indirect access and PHYs implementing a custom way to access the
registers.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
cmd/mdio.c