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

Simon Glass sjg at chromium.org
Thu Feb 25 20:31:41 CET 2021


On Thu, 25 Feb 2021 at 09:14, Marek Behún <marek.behun at nic.cz> 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 <marek.behun at nic.cz>
> Cc: Simon Glass <sjg at chromium.org>
> ---
>  drivers/core/ofnode.c | 25 +++++++++++++++++++++++++
>  include/dm/ofnode.h   | 10 ++++++++++
>  test/dm/ofnode.c      | 21 +++++++++++++++++++++
>  3 files changed, 56 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list