]> git.dujemihanovic.xyz Git - u-boot.git/commit
core: fdtaddr: add devfdt_get_addr_size_index_ptr function
authorJohan Jonker <jbx6244@gmail.com>
Fri, 21 Apr 2023 15:33:58 +0000 (17:33 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 6 May 2023 09:28:18 +0000 (17:28 +0800)
commitaa4f61a7763e81fee68c7816d4a0f28000128bbb
treef22b2c6188c81c9a8d22271caa5cb4d96060036d
parent66a1d38c9891aa59fc896eacb4607cf5e953fe33
core: fdtaddr: add devfdt_get_addr_size_index_ptr function

Add devfdt_get_addr_size_index_ptr function with the same
functionality as devfdt_get_addr_size_index, but instead
a return pointer is given.

Suggested-by: Michael Nazzareno Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/fdtaddr.c
include/dm/fdtaddr.h