
27 Aug
2017
27 Aug
'17
10:10 p.m.
On 25 August 2017 at 10:12, Masahiro Yamada yamada.masahiro@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.masahiro@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 sjg@chromium.org