On Mon, 3 Jun 2019 at 14:23, Sekhar Nori <nsek...@ti.com> wrote:
>
> Current dev_read_*() API lacks support to get address and size
> of a "reg" property by name or index. Add support for the same.
>
> Livetree support has been added but not tested on real hardware.
>
> The existing unit tests testing reading address from device-tree
> have been updated to test address as well as size.
>
> Reviewed-by: Lokesh Vutla <lokeshvu...@ti.com>
> Signed-off-by: Sekhar Nori <nsek...@ti.com>
> ---
>  drivers/core/fdtaddr.c | 17 +++++++++++++++++
>  drivers/core/read.c    | 20 ++++++++++++++++++++
>  include/dm/fdtaddr.h   | 18 ++++++++++++++++++
>  include/dm/read.h      | 41 +++++++++++++++++++++++++++++++++++++++++
>  test/dm/test-fdt.c     | 16 ++++++++++++----
>  5 files changed, 108 insertions(+), 4 deletions(-)
>

Reviewed-by: Simon Glass <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to