u-boot/arch/sandbox
Marek Behún f3dd213e15 net: introduce helpers to get PHY ofnode from MAC
Add helpers ofnode_get_phy_node() and dev_get_phy_node() and use it in
net/mdio-uclass.c function dm_eth_connect_phy_handle(). Also add
corresponding UT test.

This is useful because other part's of U-Boot may want to get PHY ofnode
without connecting a PHY.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
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 ofnode from MAC 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