]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: fec: set phy_of_node properly for fixed-link phy
authorTim Harvey <tharvey@gateworks.com>
Wed, 30 Jun 2021 23:50:04 +0000 (16:50 -0700)
committerStefano Babic <sbabic@denx.de>
Sat, 10 Jul 2021 16:12:41 +0000 (18:12 +0200)
commit69c81d6546e2fb12acf8ebf0d64790eba193686c
tree364e05b7d6087f9190362f44e84b17a983f62e90
parentb247fa7b178084cb6f71849a5ebbcb5ac107e688
net: fec: set phy_of_node properly for fixed-link phy

If the FEC is connected to a fixed-link (upstream switch port for
example) the phy_of_node should be set to the fixed-link node
so that speed and other properties can be found properly.

In addition fix a typo in the debug string.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/fec_mxc.c