[PATCH 2/2] pinctrl: nexell: Use dev_read_addr()
peng.fan at nxp.com
peng.fan at nxp.com
Mon May 25 06:00:33 CEST 2026
From: Peng Fan <peng.fan at nxp.com>
Use dev_read_addr() which supports both live device tree and flat DT
backends, avoiding direct dependency on devfdt_* helpers.
No functional changes.
Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
drivers/pinctrl/nexell/pinctrl-nexell.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/nexell/pinctrl-nexell.c b/drivers/pinctrl/nexell/pinctrl-nexell.c
index af1acd91649..bd89e779864 100644
--- a/drivers/pinctrl/nexell/pinctrl-nexell.c
+++ b/drivers/pinctrl/nexell/pinctrl-nexell.c
@@ -49,7 +49,7 @@ int nexell_pinctrl_probe(struct udevice *dev)
if (!priv)
return -EINVAL;
- base = devfdt_get_addr(dev);
+ base = dev_read_addr(dev);
if (base == FDT_ADDR_T_NONE)
return -EINVAL;
--
2.51.0
More information about the U-Boot
mailing list