On Fri, 10 Mar 2023 at 08:44, Johan Jonker <jbx6...@gmail.com> wrote: > > Add devfdt_get_addr_size_index_ptr function with the same > functionality as devfdt_get_addr_size_index, but instead > a return pointer is given. > Use map_sysmem() function as cast for the return. > Make same fix for devfdt_get_addr_index_ptr() function. > > Suggested-by: Michael Nazzareno Trimarchi <mich...@amarulasolutions.com> > Signed-off-by: Johan Jonker <jbx6...@gmail.com> > Reviewed-by: Michael Trimarchi <mich...@amarulasolutions.com> > --- > > Changed V7: > use map_sysmem() > > Changed V5: > fix spelling > use tabs > --- > drivers/core/fdtaddr.c | 17 ++++++++++++++++- > include/dm/fdtaddr.h | 17 ++++++++++++++++- > 2 files changed, 32 insertions(+), 2 deletions(-) >
Reviewed-by: Simon Glass <s...@chromium.org>