u-boot/arch/sandbox
Marek Behún 123ca114e0 net: introduce helpers to get PHY interface mode from a device/ofnode
Add helpers ofnode_read_phy_mode() and dev_read_phy_mode() to parse the
"phy-mode" / "phy-connection-type" property. Add corresponding UT test.

Use them treewide.

This allows us to inline the phy_get_interface_by_name() into
ofnode_read_phy_mode(), since the former is not used anymore.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Tested-by: Patrice Chotard <patrice.chotard@foss.st.com>
2022-04-10 08:44:12 +03:00
..
cpu sandbox: Add the handoff header for spl 2022-03-18 19:24:24 -06:00
dts net: introduce helpers to get PHY interface mode from a device/ofnode 2022-04-10 08:44:12 +03:00
include/asm sandbox: video: Replace PCI_CLASS_* macros by one from pci_ids.h 2022-03-25 13:35:50 -04:00
lib sandbox: provide /chosen/boot-hartid property 2021-10-21 12:50:48 -06:00
config.mk sandbox: Migrate ARCH_MAP_SYSMEM to Kconfig 2021-10-31 12:26:44 -06:00
Kconfig Convert CONFIG_ARCH_MAP_SYSMEM to Kconfig 2021-12-27 16:20:18 -05:00
Makefile sandbox: fix build failure with musl and SDL 2022-02-09 12:26:12 -07:00