]> Git Repo - J-u-boot.git/commit - drivers/pci/pcie_dw_mvebu.c
drivers: use devfdt_get_addr_size_index_ptr when cast to pointer
authorJohan Jonker <[email protected]>
Mon, 13 Mar 2023 00:32:18 +0000 (01:32 +0100)
committerKever Yang <[email protected]>
Sat, 6 May 2023 09:28:18 +0000 (17:28 +0800)
commit842fb5de424e53d097230a1d0ab6d7ba39b446c7
treece78e06c1880e39d11ab5cafe33a90e7426b475e
parenta12a73b66476c48dfe5afd2c3711153d09feda6c
drivers: use devfdt_get_addr_size_index_ptr when cast to pointer

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 <[email protected]>
Reviewed-by: Michael Trimarchi <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
drivers/pci/pcie_dw_mvebu.c
drivers/spi/cadence_qspi.c
This page took 0.0352 seconds and 4 git commands to generate.