From: Johan Jonker Date: Mon, 13 Mar 2023 00:29:47 +0000 (+0100) Subject: rockchip: timer: dw-apb-timer: use regs variable with uintptr_t size X-Git-Tag: v2025.01-rc5-pxa1908~998^2~32 X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/%7B%7B%20%24style.Permalink%20%7D%7D?a=commitdiff_plain;h=e9eddb75c5bf867ac2c773138afb64b92b6100e8;p=u-boot.git rockchip: timer: dw-apb-timer: use regs 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 regs variable with uintptr_t size in the dw-apb-timer.c file. Signed-off-by: Johan Jonker Reviewed-by: Simon Glass --- diff --git a/drivers/timer/dw-apb-timer.c b/drivers/timer/dw-apb-timer.c index 10f0a9f646..b171232c48 100644 --- a/drivers/timer/dw-apb-timer.c +++ b/drivers/timer/dw-apb-timer.c @@ -23,7 +23,7 @@ #define DW_APB_CTRL 0x8 struct dw_apb_timer_priv { - fdt_addr_t regs; + uintptr_t regs; struct reset_ctl_bulk resets; };