diff options
author | Tom Rini <trini@konsulko.com> | 2023-02-03 10:27:27 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-03 10:27:27 -0500 |
commit | b102bfa15e9efb18104878d8a04a0092de63250c (patch) | |
tree | 1ec31a76dd16db5984331663aed37ce6f0a292ba /net/mdio-uclass.c | |
parent | 9918b25d21db243352fc482671cafa10260b7887 (diff) | |
parent | 9bc80c0bc028a1658502eea02af2c1f26456c6b2 (diff) |
Merge branch '2023-02-02-assorted-networking-updates'
- DSA driver for the MV88E6xxx, assorted IPv6 fixes, TFTP fix, fsl-mc
cleanup coding style and fsl_ls_mdio bugfix
Diffstat (limited to 'net/mdio-uclass.c')
-rw-r--r-- | net/mdio-uclass.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mdio-uclass.c b/net/mdio-uclass.c index 4401492ca01..d80037d0ac7 100644 --- a/net/mdio-uclass.c +++ b/net/mdio-uclass.c @@ -49,7 +49,11 @@ static int dm_mdio_post_bind(struct udevice *dev) return -EINVAL; } +#if CONFIG_IS_ENABLED(OF_REAL) + return dm_scan_fdt_dev(dev); +#else return 0; +#endif } int dm_mdio_read(struct udevice *mdio_dev, int addr, int devad, int reg) |