commit | d33e9ee8a64d7c7aa34e4daa584ba3b409bdc636 | [log] [tgz] |
---|---|---|
author | Lothar Waßmann <LW@KARO-electronics.de> | Tue Jun 27 15:23:16 2017 +0200 |
committer | Stefano Babic <sbabic@denx.de> | Wed Jul 12 09:44:22 2017 +0200 |
tree | 767de80c5acf62e09ad3cbb27bfa1e2d811b1056 | |
parent | 1f81cd9be01469f1aa1fbc63b163e847ba335712 [diff] |
net: fec_mxc: fix PHY initialization bug with CONFIG_DM_ETH When CONFIG_DM_ETH is set, the FEC ethernet controller is reset after the PHY has been set up and initialzed. This breaks the communication with the PHY and results in an inoperable ethernet interface. Do the initialization with CONFIG_DM_ETH in the same order as with legacy ETH support to fix this. Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com>