commit | b526656c5bd1a3cf842d0c957b4488407928fa63 | [log] [tgz] |
---|---|---|
author | Johan Jonker <jbx6244@gmail.com> | Mon Mar 13 01:31:25 2023 +0100 |
committer | Kever Yang <kever.yang@rock-chips.com> | Sat May 06 17:28:18 2023 +0800 |
tree | 119d06c81f5b7e0c5feac4f3f5cf2788cba6fd79 | |
parent | aa4f61a7763e81fee68c7816d4a0f28000128bbb [diff] |
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>