diff options
author | Peng Fan <peng.fan@nxp.com> | 2018-03-28 20:54:14 +0800 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2018-04-13 15:47:38 -0500 |
commit | fbada4855d97532514a2be55e355f4bb49f81766 (patch) | |
tree | f0bc403043ba948033b910a29f8b25aa6977610f /include/configs/mx28evk.h | |
parent | 8b203863560465f4dde981ecaa876e256e211017 (diff) |
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 <peng.fan@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'include/configs/mx28evk.h')
-rw-r--r-- | include/configs/mx28evk.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h index bc58ca5c62d..79d4c9b2ce3 100644 --- a/include/configs/mx28evk.h +++ b/include/configs/mx28evk.h @@ -65,6 +65,7 @@ /* FEC Ethernet on SoC */ #ifdef CONFIG_CMD_NET #define CONFIG_FEC_MXC +#define CONFIG_FEC_MXC_MDIO_BASE MXS_ENET0_BASE #define CONFIG_MX28_FEC_MAC_IN_OCOTP #endif |