]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: support reading a single indexed u64 value
authorMichal Simek <michal.simek@amd.com>
Fri, 25 Aug 2023 09:37:46 +0000 (11:37 +0200)
committerMichal Simek <michal.simek@amd.com>
Thu, 21 Sep 2023 11:20:10 +0000 (13:20 +0200)
commitfa12dfa08a7bdc7d67e3758f10461468a663ce2e
tree6639f242e26867cb59b662da81680240e35b5784
parent91ed45a24f5bad1d8538a8f54738e51924443b76
dm: core: support reading a single indexed u64 value

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.

Co-developed-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/08043c8d204d0068f04c27de86afe78c75c50b69.1692956263.git.michal.simek@amd.com
arch/sandbox/dts/test.dts
drivers/core/of_access.c
drivers/core/ofnode.c
include/dm/of_access.h
include/dm/ofnode.h
test/dm/ofnode.c