[PATCH v5 18/21] drivers: use devfdt_get_addr_ptr when cast to pointer

Simon Glass sjg at chromium.org
Wed Mar 1 16:01:54 CET 2023


On Tue, 28 Feb 2023 at 14:21, Johan Jonker <jbx6244 at gmail.com> wrote:
>
> The fdt_addr_t and phys_addr_t size have been decoupled. A 32bit CPU
> can expect 64-bit data from the device tree parser, so use
> devfdt_get_addr_ptr instead of the devfdt_get_addr function in
> the various files in the drivers directory that cast to a pointer.
>
> Signed-off-by: Johan Jonker <jbx6244 at gmail.com>
> ---
>
> Changed V5:
>   new patch
> ---
>  doc/develop/driver-model/livetree.rst | 2 +-
>  drivers/clk/at91/sama7g5.c            | 2 +-
>  drivers/clk/at91/sckc.c               | 2 +-
>  drivers/spi/mtk_snor.c                | 2 +-
>  drivers/spi/mtk_spim.c                | 2 +-
>  5 files changed, 5 insertions(+), 5 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list