Commit 0421a164de22aeb02c6831d0a997853a36f0b963
Committed by
Stefano Babic
1 parent
580a7d692b
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
imx6: isiotmx6ul: Add FEC support
Add FEC support for Engicam Is.IoT MX6UL module. Cc: Stefano Babic <sbabic@denx.de> Cc: Matteo Lisi <matteo.lisi@engicam.com> Cc: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Showing 3 changed files with 14 additions and 0 deletions Side-by-side Diff
arch/arm/cpu/armv7/mx6/Kconfig
configs/imx6ul_isiot_mmc_defconfig
... | ... | @@ -23,6 +23,8 @@ |
23 | 23 | CONFIG_CMD_MMC=y |
24 | 24 | CONFIG_CMD_I2C=y |
25 | 25 | CONFIG_CMD_GPIO=y |
26 | +CONFIG_CMD_MII=y | |
27 | +CONFIG_CMD_PING=y | |
26 | 28 | CONFIG_CMD_CACHE=y |
27 | 29 | CONFIG_CMD_EXT2=y |
28 | 30 | CONFIG_CMD_EXT4=y |
... | ... | @@ -32,6 +34,7 @@ |
32 | 34 | # CONFIG_BLK is not set |
33 | 35 | CONFIG_SYS_I2C_MXC=y |
34 | 36 | # CONFIG_DM_MMC_OPS is not set |
37 | +CONFIG_FEC_MXC=y | |
35 | 38 | CONFIG_PINCTRL=y |
36 | 39 | CONFIG_PINCTRL_IMX6=y |
37 | 40 | CONFIG_MXC_UART=y |
include/configs/imx6ul_isiot.h
... | ... | @@ -128,6 +128,16 @@ |
128 | 128 | # define CONFIG_SYS_FSL_ESDHC_ADDR 0 |
129 | 129 | #endif |
130 | 130 | |
131 | +/* Ethernet */ | |
132 | +#ifdef CONFIG_FEC_MXC | |
133 | +# define CONFIG_FEC_MXC_PHYADDR 0 | |
134 | +# define CONFIG_FEC_XCV_TYPE RMII | |
135 | + | |
136 | +# define CONFIG_MII | |
137 | +# define CONFIG_PHYLIB | |
138 | +# define CONFIG_PHY_SMSC | |
139 | +#endif | |
140 | + | |
131 | 141 | /* SPL */ |
132 | 142 | #ifdef CONFIG_SPL |
133 | 143 | # define CONFIG_SPL_MMC_SUPPORT |