
Hi Ramin, Hi Joe,
On 06.08.21 06:49, Tony Dinh wrote:
At the moment, there is no common fdt helper function specific to decoding network related information from FDTs. This new helper functional group fdt_support_net is intended to be used by board-specific code within U-Boot for various network related chores.
In this patch, create the 1st function fdt_get_phy_addr to parse the device tree to find the PHY addess of a specific ethernet device.
Ramon & Joe, could you please also take a look at this patchset? And let us know if this is okay or if you have some comments?
Thanks, Stefan
Tony Dinh (3): Add fdt network helper header file Add fdt network helper functions Add fdt network helper to Makefile
common/Makefile | 2 +- common/fdt_support_net.c | 46 +++++++++++++++++++++++++++++++++++++++ include/fdt_support_net.h | 39 +++++++++++++++++++++++++++++++++ 3 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 common/fdt_support_net.c create mode 100644 include/fdt_support_net.h
Viele Grüße, Stefan