[PATCH 2/3] dm: core: support reading a single indexed u32 value
Simon Glass
sjg at chromium.org
Tue Mar 31 01:57:08 CEST 2020
On Sun, 29 Mar 2020 at 10:05, Dario Binacchi <dariobin at libero.it> wrote:
>
> The patch adds helper functions to allow reading a single indexed u32
> value from a device-tree property containing multiple u32 values, that
> is an array of integers.
>
> Signed-off-by: Dario Binacchi <dariobin at libero.it>
> ---
>
> arch/sandbox/dts/test.dts | 1 +
> drivers/core/of_access.c | 22 +++++++++++++++++++++
> drivers/core/ofnode.c | 40 +++++++++++++++++++++++++++++++++++++++
> drivers/core/read.c | 13 +++++++++++++
> include/dm/of_access.h | 19 +++++++++++++++++++
> include/dm/ofnode.h | 25 ++++++++++++++++++++++++
> include/dm/read.h | 40 +++++++++++++++++++++++++++++++++++++++
> test/dm/test-fdt.c | 29 ++++++++++++++++++++++++++++
> 8 files changed, 189 insertions(+)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
Very nice
More information about the U-Boot
mailing list