[PATCH] dm: core: support reading a single indexed u64 value

Simon Glass sjg at chromium.org
Fri Aug 11 15:36:49 CEST 2023


Hi Ashok,

On Fri, 11 Aug 2023 at 00:11, Ashok Reddy Soma <ashok.reddy.soma at amd.com> wrote:
>
> Add helper function to allow reading a single indexed u64 value from a
> device-tree property containing multiple u64 values, that is an array of
> u64's.
>
> Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma at amd.com>
> ---
>
>  drivers/core/of_access.c | 22 ++++++++++++++++++++++
>  drivers/core/ofnode.c    | 30 ++++++++++++++++++++++++++++++
>  include/dm/of_access.h   | 19 +++++++++++++++++++
>  include/dm/ofnode.h      | 12 ++++++++++++
>  4 files changed, 83 insertions(+)

Please can you add a test in test/dm/ofnode.c ?

Regards,
Simon


More information about the U-Boot mailing list