]> git.dujemihanovic.xyz Git - u-boot.git/commit
core: read: add dev_read_addr_size_index_ptr function
authorJonas Karlman <jonas@kwiboo.se>
Sat, 22 Jul 2023 13:30:15 +0000 (13:30 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 28 Jul 2023 10:45:03 +0000 (18:45 +0800)
commit5e030632d49367944879e17a6d73828be22edd55
tree3ca3ef2cfe4429f6e8eb87131ef19e00c762be84
parente5b33200f8fcc79c8555dd0b852827912abc0b04
core: read: add dev_read_addr_size_index_ptr function

Add dev_read_addr_size_index_ptr function with the same functionality as
dev_read_addr_size_index, but instead a return pointer is given.
Use map_sysmem() function as cast for the return.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/core/read.c
include/dm/read.h