aboutsummaryrefslogtreecommitdiff
path: root/include/configs/mx6ullevk.h
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2020-02-03 14:23:58 -0300
committerStefano Babic <sbabic@denx.de>2020-04-17 18:55:55 +0200
commit03279b7d1f0b81f0d635718802352ce64bb01965 (patch)
tree5a8c738786770f689e94d9f9754d9ebf7450463c /include/configs/mx6ullevk.h
parentb0b525a942040de7cc7c59ca310a078596ff4c8b (diff)
downloadu-boot-03279b7d1f0b81f0d635718802352ce64bb01965.zip
u-boot-03279b7d1f0b81f0d635718802352ce64bb01965.tar.gz
u-boot-03279b7d1f0b81f0d635718802352ce64bb01965.tar.bz2
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/configs/mx6ullevk.h')
-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 7cce911..af335bc 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