]> git.sur5r.net Git - u-boot/commitdiff
imx6: icorem6_rqs: Add FEC support
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 13 Dec 2016 16:57:06 +0000 (17:57 +0100)
committerStefano Babic <sbabic@denx.de>
Fri, 16 Dec 2016 17:39:06 +0000 (18:39 +0100)
Add FEC support for Engicam i.CoreM6 RQS modules.

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>
arch/arm/cpu/armv7/mx6/Kconfig
configs/imx6dl_icore_rqs_mmc_defconfig
configs/imx6q_icore_rqs_mmc_defconfig
include/configs/imx6qdl_icore_rqs.h

index 058b62df45cd93ad02d2f5387e0974d26c0c55d3..c646966f75473ad2c478dd1ce519c5e748eb3a37 100644 (file)
@@ -138,6 +138,7 @@ config TARGET_MX6Q_ICORE_RQS
        select MX6QDL
        select OF_CONTROL
        select DM
+       select DM_ETH
        select DM_GPIO
        select DM_I2C
        select DM_MMC
index 19a721c1e6c795611d56a4990d03d69e824cce3c..230cd20286db7c858641c02124da241e3a80e489 100644 (file)
@@ -18,6 +18,8 @@ CONFIG_SYS_MAXARGS=32
 CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_MEMTEST=y
+CONFIG_CMD_MII=y
+CONFIG_CMD_PING=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
@@ -27,6 +29,7 @@ CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_CMD_I2C=y
 CONFIG_OF_LIBFDT=y
+CONFIG_FEC_MXC=y
 CONFIG_MXC_UART=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX6=y
index bbd10af6c799fa19dfb42370b7d43ffac2301c8a..f7c25c4cf332f115b6a57ffcc54425fa4631d6b6 100644 (file)
@@ -18,6 +18,8 @@ CONFIG_SYS_MAXARGS=32
 CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_MEMTEST=y
+CONFIG_CMD_MII=y
+CONFIG_CMD_PING=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
@@ -27,6 +29,7 @@ CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_CMD_I2C=y
 CONFIG_OF_LIBFDT=y
+CONFIG_FEC_MXC=y
 CONFIG_MXC_UART=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX6=y
index 796035519db0bb8aa14c92264b04b03a2470a087..01215631b6b6cd107039d5ef68705f3f972fa2fe 100644 (file)
 # define CONFIG_SYS_FSL_ESDHC_ADDR     0
 #endif
 
+/* Ethernet */
+#ifdef CONFIG_FEC_MXC
+# define CONFIG_FEC_MXC_PHYADDR                3
+# define CONFIG_FEC_XCV_TYPE           RGMII
+
+# define CONFIG_MII
+# define CONFIG_PHYLIB
+# define CONFIG_PHY_MICREL
+# define CONFIG_PHY_MICREL_KSZ9021
+#endif
+
 /* SPL */
 #ifdef CONFIG_SPL
 # define CONFIG_SPL_MMC_SUPPORT