From: sbabic at denx.de <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [PATCH] mx6ul(l)evk: Enable DM_ETH_PHY
Date: Sat, 23 Jan 2021 16:50:17 +0100 (CET) [thread overview]
Message-ID: <20210123155017.87CF082764@phobos.denx.de> (raw)
In-Reply-To: <20201228195831.621603-1-sean.anderson@seco.com>
> 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@seco.com>
> Reviewed-by: Fabio Estevam <festevam@gmail.com>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
prev parent reply other threads:[~2021-01-23 15:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-28 19:58 [PATCH] mx6ul(l)evk: Enable DM_ETH_PHY Sean Anderson
2020-12-28 20:45 ` Fabio Estevam
2021-01-23 15:50 ` sbabic at denx.de [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210123155017.87CF082764@phobos.denx.de \
--to=sbabic@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox