aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFabio Estevam2020-02-03 14:23:58 -0300
committerStefano Babic2020-04-17 18:55:55 +0200
commit03279b7d1f0b81f0d635718802352ce64bb01965 (patch)
tree5a8c738786770f689e94d9f9754d9ebf7450463c /include
parentb0b525a942040de7cc7c59ca310a078596ff4c8b (diff)
mx6ullevk: Enable Ethernet support
Add Ethernet support using DM_ETH. Signed-off-by: Fabio Estevam <festevam@gmail.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx6ullevk.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/mx6ullevk.h b/include/configs/mx6ullevk.h
index 7cce911314b..af335bcfff4 100644
--- a/include/configs/mx6ullevk.h
+++ b/include/configs/mx6ullevk.h
@@ -166,4 +166,13 @@
#define FSL_QSPI_FLASH_SIZE SZ_32M
#endif
+#ifdef CONFIG_CMD_NET
+#define CONFIG_FEC_ENET_DEV 1
+#if (CONFIG_FEC_ENET_DEV == 0)
+#define CONFIG_ETHPRIME "eth0"
+#elif (CONFIG_FEC_ENET_DEV == 1)
+#define CONFIG_ETHPRIME "eth1"
+#endif
+#endif
+
#endif