
29 Dec
2019
29 Dec
'19
11:26 a.m.
From: Denis Zalevskiy denis.zalevskiy@ge.com DM for PCI pulls DM for ethernet that also needs other changes described below to build u-boot and keep existing functionality - ability to update MAC addresses of FEC ethernet adapter and I210 adapter connected to the Marvell switch.
- fec_mxc driver with DM needs PHYLIB;
- configuration items are moved from ge_bx50v3.h to ge_bx50v3_defconfig;
- FEC is marked as eth0 because it is always present, so indices changed: I210 are still probed in the same order;
- board_eth_init() was used by legacy ethernet, setup for enet iomux and pcie is moved to the board_late_init();
- pci_init() is called from the board_late_init() to initiate PCI bus probing, so I210 devices are propagated to the device tree;
Signed-off-by: Denis Zalevskiy denis.zalevskiy@ge.com [Describe PHY reset in device tree] Signed-off-by: Ian Ray ian.ray@ge.com Signed-off-by: Robert Beckett bob.beckett@collabora.com
Applied to u-boot-imx, -next, 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@denx.de
=====================================================================