[PATCH] mx6ul(l)evk: Enable DM_ETH_PHY

Fabio Estevam festevam at gmail.com
Mon Dec 28 21:45:32 CET 2020


Hi Sean,

On Mon, Dec 28, 2020 at 4:58 PM Sean Anderson <sean.anderson at seco.com> wrote:
>
> This fixes eth0 not initializing properly. Both eth0 and eth1 use the
> MDIO interface on eth1 to access their PHYs. However, without
> DM_ETH_PHY, eth0 still tries to use its own MDIO interface to access its
> phy. Before this patch, a boot log might contain lines like
>
> Net:
> Warning: ethernet at 20b4000 using MAC address from ROM
> eth1: ethernet at 20b4000 [PRIME]Could not get PHY for FEC0: addr 2
>
> After this patch they now look like
>
> Net:
> Warning: ethernet at 20b4000 using MAC address from ROM
> eth1: ethernet at 20b4000 [PRIME]Get shared mii bus on ethernet at 2188000
>
> Warning: ethernet at 2188000 using MAC address from ROM
> , eth0: ethernet at 2188000
>
> As an alternative to DM_ETH_PHY, FEC_MXC_SHARE_MDIO could also have been
> used to achieve the same effect.
>
> Signed-off-by: Sean Anderson <sean.anderson at seco.com>

Thanks for the fix:

Reviewed-by: Fabio Estevam <festevam at gmail.com>


More information about the U-Boot mailing list