]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: spi: rk_spi: use base variable with uintptr_t size
authorJohan Jonker <jbx6244@gmail.com>
Mon, 13 Mar 2023 00:30:20 +0000 (01:30 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 6 May 2023 09:28:18 +0000 (17:28 +0800)
commit3eac1db2dffbb001a4dc3515659efcdee52fecdb
tree7c8a1002f5fc5f49accf56db8a22e84353e182a5
parent88a9e58b998dab620f6d7e71fda1a815f1a55058
rockchip: spi: rk_spi: use base variable with uintptr_t size

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 a base variable with uintptr_t size in the
rk_spi.c file.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/spi/rk_spi.c