mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 08:59:33 +00:00
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:
parent
88a9e58b99
commit
3eac1db2df
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue