diff options
author | Samuel Holland <samuel@sholland.org> | 2018-01-27 23:53:20 -0600 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-03-13 21:16:51 +0530 |
commit | 2d53018a0ef268ba73aebe2441f1fd7c65533d78 (patch) | |
tree | 26ecbb33557887a9bd7aea8de7f5f3eb6489b05b /include/configs/am335x_shc.h | |
parent | b0b0d22f1a11b656e1a72f0e178f968b14be7ff3 (diff) |
net: sun8i_emac: Fix PHY initialization
The previous code tried to update the PHY parameters without waiting for
autonegotiation to complete. This caused wrong values to be written to
the EMAC in sun8i_adjust_link(). As a result, any commands that called
eth_start() before autonegotiation completed would find the network
nonfunctional. Fix this by using the correct function to start up the
PHY.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'include/configs/am335x_shc.h')
0 files changed, 0 insertions, 0 deletions