]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: support reading a single indexed u32 value
authorDario Binacchi <dariobin@libero.it>
Sun, 29 Mar 2020 16:04:41 +0000 (18:04 +0200)
committerSimon Glass <sjg@chromium.org>
Thu, 16 Apr 2020 14:07:58 +0000 (08:07 -0600)
commit4bb7075c830c6f4e4512fe0277ff1f08c5a9e084
treea1d8d9d36db2c061edd17dadddfed57a4188470e
parent70573c6c46be96d2e60497d8484b9afb119da8c1
dm: core: support reading a single indexed u32 value

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@libero.it>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
drivers/core/of_access.c
drivers/core/ofnode.c
drivers/core/read.c
include/dm/of_access.h
include/dm/ofnode.h
include/dm/read.h
test/dm/test-fdt.c