On 5/25/26 11:51, Peng Fan (OSS) wrote:

> From: Peng Fan <[email protected]>
>
> devfdt_get_addr() returns FDT_ADDR_T_NONE(-1UL) when fail, using
> "!priv->regs" to check return value is wrong.
>
> Replace devfdt_read_addr() with dev_read_addr_ptr() when retrieving the
> register base address.
>
> dev_read_addr_ptr() supports both live device tree and flat DT backends,
> avoiding direct dependency on devfdt_* helpers.
>
> Also use "void __iomem *" to replace "phys_addr_t" to avoid type
> casting.
>
> No functional changes.
>
> Signed-off-by: Peng Fan <[email protected]>

Applied to u-boot-watchdog/next

Thanks,
Stefan

Reply via email to