On 25 August 2017 at 10:12, Masahiro Yamada <yamada.masah...@socionext.com> wrote: > Linux supports platform_get_resource_byname() to look up a resource > by name. > > We want a similar helper. It is useful when a device node has two > or more named register regions. > > Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> > --- > > drivers/core/ofnode.c | 12 ++++++++++++ > drivers/core/read.c | 6 ++++++ > include/dm/ofnode.h | 2 ++ > include/dm/read.h | 20 +++++++++++++++++++- > 4 files changed, 39 insertions(+), 1 deletion(-) >
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot