]> Git Repo - u-boot.git/commit
net: fec: sharing MDIO for two enet controllers
authorPeng Fan <[email protected]>
Wed, 28 Mar 2018 12:54:14 +0000 (20:54 +0800)
committerJoe Hershberger <[email protected]>
Fri, 13 Apr 2018 20:47:38 +0000 (15:47 -0500)
commitfbada4855d97532514a2be55e355f4bb49f81766
treef0bc403043ba948033b910a29f8b25aa6977610f
parent8b203863560465f4dde981ecaa876e256e211017
net: fec: sharing MDIO for two enet controllers

On i.MX6SX, 6UL and 7D, there are two enet controllers each has a
MDIO port. But Some boards share one MDIO port for the two enets. So
introduce a configuration CONFIG_FEC_MXC_MDIO_BASE to indicate
the MDIO port for sharing.
In Kconfig, user needs enable CONFIG_FEC_MXC_SHARE_MDIO first to enter
the CONFIG_FEC_MXC_MDIO_BASE.

To i.MX28, adapt to use the new config

Signed-off-by: Peng Fan <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Cc: Fabio Estevam <[email protected]>
drivers/net/Kconfig
drivers/net/fec_mxc.c
include/configs/mx28evk.h
This page took 0.032852 seconds and 4 git commands to generate.