From: Peng Fan Date: Mon, 25 May 2026 03:51:49 +0000 (+0800) Subject: watchdog: mpc8xxx_wdt: Use dev_remap_addr() X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5843db9dada474aec1d29a149a681657677ed89a;p=thirdparty%2Fu-boot.git watchdog: mpc8xxx_wdt: Use dev_remap_addr() Use dev_remap_addr() to replace devfdt_remap_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 Reviewed-by: Stefan Roese --- diff --git a/drivers/watchdog/mpc8xxx_wdt.c b/drivers/watchdog/mpc8xxx_wdt.c index 7fcb866f574..068f99c5fc6 100644 --- a/drivers/watchdog/mpc8xxx_wdt.c +++ b/drivers/watchdog/mpc8xxx_wdt.c @@ -81,7 +81,7 @@ static int mpc8xxx_wdt_of_to_plat(struct udevice *dev) { struct mpc8xxx_wdt_priv *priv = dev_get_priv(dev); - priv->base = (void __iomem *)devfdt_remap_addr(dev); + priv->base = (void __iomem *)dev_remap_addr(dev); if (!priv->base) return -EINVAL;