summaryrefslogtreecommitdiff
path: root/include/configs/mx28evk.h
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2018-03-28 15:54:14 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2018-04-13 23:47:38 +0300
commitfbada4855d97532514a2be55e355f4bb49f81766 (patch)
treef0bc403043ba948033b910a29f8b25aa6977610f /include/configs/mx28evk.h
parent8b203863560465f4dde981ecaa876e256e211017 (diff)
downloadu-boot-fbada4855d97532514a2be55e355f4bb49f81766.tar.xz
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
index bc58ca5c62..79d4c9b2ce 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