From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Sat, 23 Jan 2021 16:50:17 +0100 (CET) Subject: [PATCH] mx6ul(l)evk: Enable DM_ETH_PHY In-Reply-To: <20201228195831.621603-1-sean.anderson@seco.com> Message-ID: <20210123155017.87CF082764@phobos.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 > Reviewed-by: Fabio Estevam 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 =====================================================================