[PATCH v7 13/23] core: fdtaddr: add devfdt_get_addr_size_index_ptr function

Simon Glass sjg at chromium.org
Sat Mar 11 02:37:46 CET 2023


On Fri, 10 Mar 2023 at 08:44, Johan Jonker <jbx6244 at 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 <michael at amarulasolutions.com>
> Signed-off-by: Johan Jonker <jbx6244 at gmail.com>
> Reviewed-by: Michael Trimarchi <michael at 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 <sjg at chromium.org>


More information about the U-Boot mailing list