[PATCH v5 17/21] drivers: use devfdt_get_addr_index_ptr when cast to pointer
Simon Glass
sjg at chromium.org
Wed Mar 1 16:01:52 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_index_ptr instead of the devfdt_get_addr_index function
> in the various files in the drivers directory that cast to a pointer.
>
> Signed-off-by: Johan Jonker <jbx6244 at gmail.com>
> ---
> drivers/clk/clk-hsdk-cgu.c | 4 ++--
> drivers/ddr/altera/sdram_gen5.c | 2 +-
> drivers/mmc/xenon_sdhci.c | 2 +-
> drivers/net/mvpp2.c | 24 ++++++++++++------------
> drivers/pci/pcie_dw_mvebu.c | 4 ++--
> drivers/pci/pcie_imx.c | 4 ++--
> drivers/pci/pcie_layerscape_ep.c | 4 ++--
> drivers/phy/marvell/comphy_core.c | 12 ++++++------
> drivers/spi/cadence_qspi.c | 2 +-
> drivers/usb/musb-new/ti-musb.c | 2 +-
> 10 files changed, 30 insertions(+), 30 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list