[PATCH v2] configs: pico-imx6: convert ethernet function to DM_ETH

wig.cheng at technexion.com wig.cheng at technexion.com
Wed Jul 29 04:03:46 CEST 2020


From: Wig Cheng <wig.cheng at technexion.com>

Before enable _DM_ETH:
  Net:   FEC [PRIME]

After enable DM_ETH:
  Net:   eth0: ethernet at 2188000

Here is the test commands:
  => dhcp
  BOOTP broadcast 1
  DHCP client bound to address 10.88.88.152 (146 ms)
  *** ERROR: `serverip' not set
  Cannot autoload with TFTPGET
  => ping 8.8.8.8
  Using ethernet at 2188000 device
  host 8.8.8.8 is alive

Signed-off-by: Wig Cheng <wig.cheng at technexion.com>
---
 configs/pico-imx6_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/pico-imx6_defconfig b/configs/pico-imx6_defconfig
index a1773e4c7e..138fdfae53 100644
--- a/configs/pico-imx6_defconfig
+++ b/configs/pico-imx6_defconfig
@@ -65,6 +65,8 @@ CONFIG_DM_MMC=y
 CONFIG_FSL_USDHC=y
 CONFIG_PHYLIB=y
 CONFIG_PHY_ATHEROS=y
+CONFIG_DM_ETH=y
+CONFIG_RGMII=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX6=y
 CONFIG_MXC_UART=y
-- 
2.17.1



More information about the U-Boot mailing list