]> git.dujemihanovic.xyz Git - u-boot.git/commit
core: read: add dev_read_addr_index_ptr function
authorJohan Jonker <jbx6244@gmail.com>
Mon, 13 Mar 2023 00:31:25 +0000 (01:31 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 6 May 2023 09:28:18 +0000 (17:28 +0800)
commitb526656c5bd1a3cf842d0c957b4488407928fa63
tree119d06c81f5b7e0c5feac4f3f5cf2788cba6fd79
parentaa4f61a7763e81fee68c7816d4a0f28000128bbb
core: read: add dev_read_addr_index_ptr function

Add dev_read_addr_index_ptr function with the
same functionality as dev_read_addr_index,
but instead a return pointer is given.
Use map_sysmem() function as cast for the return.
Make same fix for dev_read_addr_ptr() function.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/read.c