[U-Boot] [PATCH] core: add ofnode_get_by_phandle() api

Simon Glass sjg at chromium.org
Mon Feb 12 14:35:15 UTC 2018


On 8 February 2018 at 06:55, Kever Yang <kever.yang at rock-chips.com> wrote:
> We need to get ofnode from a phandle, add interface to support
> both live dt and fdt.
>
> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
> ---
>
>  drivers/core/ofnode.c | 13 +++++++++++++
>  include/dm/ofnode.h   |  8 ++++++++
>  2 files changed, 21 insertions(+)

This reminds me that we need some tests for this code. I will see if I
can come up with something.

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


More information about the U-Boot mailing list