diff options
author | Nate Drude <nate.d@variscite.com> | 2022-05-19 12:31:56 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-06-14 21:25:26 +0200 |
commit | 4cc25cd5ce6923ccd0a6164703bcbde0216fd77d (patch) | |
tree | 26fda438ba460de1823f07c807845f813694b57a /arch/arm/dts | |
parent | 827ded0e82e5a000cfb4e7bd2697a320c65d835a (diff) | |
download | u-boot-4cc25cd5ce6923ccd0a6164703bcbde0216fd77d.zip u-boot-4cc25cd5ce6923ccd0a6164703bcbde0216fd77d.tar.gz u-boot-4cc25cd5ce6923ccd0a6164703bcbde0216fd77d.tar.bz2 |
phy: adin: fix broken support for adi, phy-mode-override
Currently, the adin driver fails to compile.
The original patch introducing the adin driver used the function
phy_get_interface_by_name to support the adi,phy-mode-override
property. Unfortunately, a few days before the adin patch
was accepted, another patch removed support for phy_get_interface_by_name:
https://github.com/u-boot/u-boot/commit/123ca114e07ecf28aa2538748d733e2b22d8b8b5
This patch refactors adin_get_phy_mode_override, implementing the logic in
the new function, ofnode_read_phy_mode, from the patch above.
Signed-off-by: Nate Drude <nate.d@variscite.com>
Tested-by: Josua Mayer <josua@solid-run.com>
Signed-off-by: Josua Mayer <josua@solid-run.com>
Diffstat (limited to 'arch/arm/dts')
0 files changed, 0 insertions, 0 deletions