[U-Boot] [PATCH v4 3/3] cmd: mdio: Add new parameter to access MMD PHY registers

Carlo Caione ccaione at baylibre.com
Thu Jan 24 20:01:02 UTC 2019


On 24/01/2019 19:56, Vladimir Oltean wrote:
> On 1/24/19 10:56 AM, Carlo Caione wrote:

> It works for me, but I do have a question.
> Is there any limitation preventing you to add this functionality via the
> standard "mdio read x.y" instead of "mdio rmmd x.y" if the PHY is known
> to be C22?

You can used the standard "mdio read" but it's more verbose and hard to 
recall:

mdio write 0 0.d 0x3
mdio write 0 0.e 0x1
mdio write 0 0.d 0x4003
mdio read 0 0.e

vs

mdio rmmd 3.1

--
Carlo Caione


More information about the U-Boot mailing list