]> git.baikalelectronics.ru Git - uboot.git/commit
core: add ofnode_get_by_phandle() api
authorKever Yang <kever.yang@rock-chips.com>
Fri, 23 Feb 2018 16:38:50 +0000 (17:38 +0100)
committerAnatolij Gustschin <agust@denx.de>
Fri, 23 Feb 2018 19:48:09 +0000 (20:48 +0100)
commit567c8a968b0a299e4bbd54294eccd6eabac60e1a
tree2e3374f58faf55f5389b6398116bef8dad0c3079
parent30fb8101ed8f95b72644df55a5fe743c022d33db
core: add ofnode_get_by_phandle() api

We need to get ofnode from a phandle, add interface to support
both live dt and fdt.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com>
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/core/ofnode.c
include/dm/ofnode.h