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>
This commit is contained in:
Johan Jonker 2023-03-13 01:30:20 +01:00 committed by Kever Yang
parent 88a9e58b99
commit 3eac1db2df

View file

@ -45,7 +45,7 @@ struct rockchip_spi_plat {
struct dtd_rockchip_rk3288_spi of_plat; struct dtd_rockchip_rk3288_spi of_plat;
#endif #endif
s32 frequency; /* Default clock frequency, -1 for none */ s32 frequency; /* Default clock frequency, -1 for none */
fdt_addr_t base; uintptr_t base;
uint deactivate_delay_us; /* Delay to wait after deactivate */ uint deactivate_delay_us; /* Delay to wait after deactivate */
uint activate_delay_us; /* Delay to wait after activate */ uint activate_delay_us; /* Delay to wait after activate */
}; };