]> git.dujemihanovic.xyz Git - u-boot.git/commit
core: introduce dev_read_addr_name[_size]_ptr() functions
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
Wed, 27 Sep 2023 13:33:32 +0000 (15:33 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 13 Oct 2023 17:15:41 +0000 (10:15 -0700)
commitbc8fa1cbfd429138ebd894a170ce36b07f86b150
treeff4ca06372ea8711b4c9ce8f2b5b4e754e5edb81
parente367305769d091bc8a0026d69136eb77fd055784
core: introduce dev_read_addr_name[_size]_ptr() functions

Same as dev_read_addr_name[_size](), but returns a pointer, cast
through map_sysmem().

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/fdtaddr.c
drivers/core/read.c
include/dm/fdtaddr.h
include/dm/read.h