Add mdio command for new PHY infrastructure
authorAndy Fleming <afleming@freescale.com>
Mon, 21 Mar 2011 23:03:22 +0000 (18:03 -0500)
committerAndy Fleming <afleming@freescale.com>
Wed, 20 Apr 2011 20:09:35 +0000 (15:09 -0500)
commit995daa0b81f35c93a1d14e5c6a932bc304d06718
tree49674cc80f68d29037bcdcdd5c7a738276b800b6
parent865ff856403fb4bec6fe7f18101364384880068f
Add mdio command for new PHY infrastructure

The new mdio command doesn't have all of the features of the mii
command, but it provides the necessary read/write primitives, and allows
users to interact with 10G PHYs, and other PHYs which use Clause 45 of
802.3.  This means that the mdio command requires a "Device Address"
argument, though for clause 22 PHYs, the argument can be "-".

Signed-off-by: Andy Fleming <afleming@freescale.com>
Acked-by: Detlev Zundel <dzu@denx.de>
common/Makefile
common/cmd_mdio.c [new file with mode: 0644]