From 03279b7d1f0b81f0d635718802352ce64bb01965 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 3 Feb 2020 14:23:58 -0300 Subject: mx6ullevk: Enable Ethernet support Add Ethernet support using DM_ETH. Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan --- include/configs/mx6ullevk.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include') 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 -- cgit v1.3.1