[PATCH v6 17/22] drivers: use devfdt_get_addr_size_index_ptr when cast to pointer
Simon Glass
sjg at chromium.org
Mon Mar 6 18:53:16 CET 2023
On Thu, 2 Mar 2023 at 17:16, 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_size_index_ptr instead of the devfdt_get_addr_size_index
> function in the various files in the drivers directory that cast to
> a pointer.
>
> Signed-off-by: Johan Jonker <jbx6244 at gmail.com>
> Reviewed-by: Michael Trimarchi <michael at amarulasolutions.com>
> ---
> drivers/pci/pcie_dw_mvebu.c | 6 +++---
> drivers/spi/cadence_qspi.c | 3 +--
> 2 files changed, 4 insertions(+), 5 deletions(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list