core: fdtaddr: use map_sysmem() as cast for the return
authorJohan Jonker <jbx6244@gmail.com>
Sun, 23 Apr 2023 09:19:41 +0000 (11:19 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 28 Apr 2023 17:52:30 +0000 (11:52 -0600)
For the devfdt_get_addr_index_ptr() and devfdt_get_addr_size_index_ptr()
function use map_sysmem() function as cast for the return for use in
sandbox. Also fix sandbox test.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Drop second hunk:
Signed-off-by: Simon Glass <sjg@chromium.org>

No differences found