diff options
| author | Fabio Estevam <[email protected]> | 2020-02-03 14:23:58 -0300 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2020-04-17 18:55:55 +0200 |
| commit | 03279b7d1f0b81f0d635718802352ce64bb01965 (patch) | |
| tree | 5a8c738786770f689e94d9f9754d9ebf7450463c /include | |
| parent | b0b525a942040de7cc7c59ca310a078596ff4c8b (diff) | |
mx6ullevk: Enable Ethernet support
Add Ethernet support using DM_ETH.
Signed-off-by: Fabio Estevam <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/mx6ullevk.h | 9 |
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 |
