]> git.sur5r.net Git - u-boot/commit
fdt: implement dev_get_addr_name()
authorStephen Warren <swarren@nvidia.com>
Wed, 6 Apr 2016 18:49:19 +0000 (12:49 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 Apr 2016 14:14:37 +0000 (08:14 -0600)
commit43c4d44e3330fd21679c0790fa2176075d0e69bf
tree11028f81b83c1e7128ef8a1465e3ecf0bfadd5fa
parent690d8a92c1f74115f954202023443d6869bac738
fdt: implement dev_get_addr_name()

This function parses the reg property based on an index found in the
reg-names property. This is required for bindings that are written
using reg-names rather than hard-coding indices in reg.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c
include/dm/device.h