On 25 August 2017 at 10:12, Masahiro Yamada <[email protected]> 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 <[email protected]> > --- > > 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 <[email protected]> _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

