diff options
author | Andy Fleming <afleming@freescale.com> | 2011-03-21 18:03:22 -0500 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2011-04-20 15:09:35 -0500 |
commit | 995daa0b81f35c93a1d14e5c6a932bc304d06718 (patch) | |
tree | 49674cc80f68d29037bcdcdd5c7a738276b800b6 /common/Makefile | |
parent | 865ff856403fb4bec6fe7f18101364384880068f (diff) | |
download | u-boot-imx-995daa0b81f35c93a1d14e5c6a932bc304d06718.zip u-boot-imx-995daa0b81f35c93a1d14e5c6a932bc304d06718.tar.gz u-boot-imx-995daa0b81f35c93a1d14e5c6a932bc304d06718.tar.bz2 |
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>
Diffstat (limited to 'common/Makefile')
-rw-r--r-- | common/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile index 02dbeed..5f0c534 100644 --- a/common/Makefile +++ b/common/Makefile @@ -117,6 +117,9 @@ COBJS-$(CONFIG_MII) += miiphyutil.o COBJS-$(CONFIG_CMD_MII) += miiphyutil.o COBJS-$(CONFIG_PHYLIB) += miiphyutil.o COBJS-$(CONFIG_CMD_MII) += cmd_mii.o +ifdef CONFIG_PHYLIB +COBJS-$(CONFIG_CMD_MII) += cmd_mdio.o +endif COBJS-$(CONFIG_CMD_MISC) += cmd_misc.o COBJS-$(CONFIG_CMD_MMC) += cmd_mmc.o COBJS-$(CONFIG_MP) += cmd_mp.o |