]> git.baikalelectronics.ru Git - uboot.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)
commit72de44a9ab005ebe9c4c02b35ca977c71f1f6a5b
tree364e05b7d6087f9190362f44e84b17a983f62e90
parentd934c03f2ad40197ed59c9ed425100404a97b846
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