]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: pico-imx6: convert ethernet function to DM_ETH
authorWig Cheng <wig.cheng@technexion.com>
Tue, 28 Jul 2020 08:15:19 +0000 (16:15 +0800)
committerStefano Babic <sbabic@denx.de>
Mon, 3 Aug 2020 15:03:57 +0000 (17:03 +0200)
Before enable _DM_ETH:
    Net:   FEC [PRIME]

After enable DM_ETH:
    Net:   eth0: ethernet@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@2188000 device
    host 8.8.8.8 is alive

Signed-off-by: Wig Cheng <wig.cheng@technexion.com>
configs/pico-imx6_defconfig

index 04c132b47481398fdc82750170f7d55cd0431173..5fe2850086d62ea1237640825d531c70fd335f57 100644 (file)
@@ -64,6 +64,9 @@ CONFIG_DM_MMC=y
 CONFIG_FSL_USDHC=y
 CONFIG_PHYLIB=y
 CONFIG_PHY_ATHEROS=y
+CONFIG_DM_ETH=y
+CONFIG_DM_MDIO=y
+CONFIG_RGMII=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX6=y
 CONFIG_MXC_UART=y