Re: [PATCH u-boot-dm + u-boot-spi v3 03/11] dm: core: add ofnode_get_path()

2021-02-25 Thread Simon Glass
On Thu, 25 Feb 2021 at 09:14, Marek Behún wrote: > > Add function for retrieving full node path of a given ofnode. > This uses np->full_name if OF is live, otherwise a call to > fdt_get_path() is made. > > Signed-off-by: Marek Behún > Cc: Simon Glass > --- > drivers/core/ofnode.c | 25

[PATCH u-boot-dm + u-boot-spi v3 03/11] dm: core: add ofnode_get_path()

2021-02-25 Thread Marek Behún
Add function for retrieving full node path of a given ofnode. This uses np->full_name if OF is live, otherwise a call to fdt_get_path() is made. Signed-off-by: Marek Behún Cc: Simon Glass --- drivers/core/ofnode.c | 25 + include/dm/ofnode.h | 10 ++