]> git.dujemihanovic.xyz Git - u-boot.git/commit
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)
commit37937aba3518ed782fdaae9d3772c59fd1e05af8
treed48557496c7fd96d3da00d29fc1ec67b5b3be99c
parentde65b122a2534a5bc61f7714f10125baee5d58f3
core: fdtaddr: use map_sysmem() as cast for the return

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>
drivers/core/fdtaddr.c
test/dm/test-fdt.c