summaryrefslogtreecommitdiffstats
path: root/tools/omapimage.c
diff options
context:
space:
mode:
authorGrzegorz Jaszczyk <jaz@semihalf.com>2019-08-15 18:08:42 -0400
committerJoe Hershberger <joe.hershberger@ni.com>2019-12-09 09:47:42 -0600
commit623948377acf1ba8f4b277e954155035b9800330 (patch)
tree12d239fad5929a2fded9a30f47edbfcf54ec3e95 /tools/omapimage.c
parent13b725fd24bd7d6acdd7cb7c3c4238d0b305985e (diff)
downloadu-boot-623948377acf1ba8f4b277e954155035b9800330.tar.gz
u-boot-623948377acf1ba8f4b277e954155035b9800330.tar.xz
u-boot-623948377acf1ba8f4b277e954155035b9800330.zip
net: mvpp2: mark phy as invalid in case of missing appropriate driver
If the phy doesn't match with any existing u-boot drivers, the phy framework will connect it to the generic one which uid == 0xffffffff. In this case, act as if the phy wouldn't be declared in dts. Otherwise, in case of 3310 (for which the driver doesn't exist) the link is marked as always down. Removing phy entry from dts in case of 3310 is not a good option because it is required for the phy_fw_down procedure. This patch fixes the issue with the link always down on MCBIN board. nhed: added NULL deref test. Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com> Reviewed-by: Igal Liberman <igall@marvell.com> Tested-by: Igal Liberman <igall@marvell.com> Signed-off-by: Nevo Hed <nhed+github@starry.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'tools/omapimage.c')
0 files changed, 0 insertions, 0 deletions