[PATCH v8 08/24] rockchip: timer: dw-apb-timer: use regs variable with uintptr_t size

Simon Glass sjg at chromium.org
Mon Mar 13 04:10:27 CET 2023


On Sun, 12 Mar 2023 at 18:29, Johan Jonker <jbx6244 at gmail.com> wrote:
>
> 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 at gmail.com>
> ---
>
> Changed V8:
>   use uintptr_t instead of phys_addr_t
>
> Changed V6:
>   remove cast
>   change title
> ---
>  drivers/timer/dw-apb-timer.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list