]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: timer: dw-apb-timer: use regs variable with uintptr_t size
authorJohan Jonker <jbx6244@gmail.com>
Mon, 13 Mar 2023 00:29:47 +0000 (01:29 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 6 May 2023 09:28:18 +0000 (17:28 +0800)
commite9eddb75c5bf867ac2c773138afb64b92b6100e8
tree7a1869868665a94fdb4232e4e273479a0081daef
parentac9198d1d549b516c7c27f7eaf19dd4a9b5dfbf5
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 <jbx6244@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/timer/dw-apb-timer.c