[PATCH] reset: ast: Use dev_read_addr_ptr()

Tom Rini trini at konsulko.com
Wed Jun 10 00:28:22 CEST 2026


On Tue, 26 May 2026 14:48:01 +0800, peng.fan at nxp.com wrote:

> Use dev_read_addr_ptr() which supports both live device tree and flat DT
> backends, avoiding direct dependency on devfdt_* helpers.
> 
> While at here, correct error return value, when priv->scu is NULL,
> PTR_ERR(priv->scu) is 0 which implies success. Change to return '-EINVAL'.
> 
> No functional changes.
> 
> [...]

Applied to u-boot/next, thanks!

[1/1] reset: ast: Use dev_read_addr_ptr()
      commit: 305c014fdb7208ced179e47dc3634e7faa6a2502
-- 
Tom




More information about the U-Boot mailing list