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

Vladimir Oltean vladimir.oltean at nxp.com
Thu Jan 24 20:04:01 UTC 2019


On 1/24/19 10:01 PM, Carlo Caione wrote:
> 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
> 

No, I mean instead of doing "mdio rmmd 3.1" to do "mdio read 3.1" 
(basically not define a new command).


More information about the U-Boot mailing list