On 27/05/26 08:07, [email protected] wrote:
> From: Peng Fan <[email protected]>
> 
> Use dev_remap_addr_index() which supports both live device tree and flat DT
> backends, avoiding direct dependency on devfdt_* helpers.
> 
> No functional changes.
> 
> Signed-off-by: Peng Fan <[email protected]>
> ---

Reviewed-by: Vignesh Raghavendra <[email protected]>


>  drivers/mtd/hbmc-am654.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/hbmc-am654.c b/drivers/mtd/hbmc-am654.c
> index 98988a8e24d..1e71e91e0d1 100644
> --- a/drivers/mtd/hbmc-am654.c
> +++ b/drivers/mtd/hbmc-am654.c
> @@ -71,7 +71,7 @@ static int am654_hbmc_probe(struct udevice *dev)
>       struct am654_hbmc_priv *priv = dev_get_priv(dev);
>       int ret;
>  
> -     priv->mmiobase = devfdt_remap_addr_index(dev, 1);
> +     priv->mmiobase = dev_remap_addr_index(dev, 1);
>       if (dev_read_bool(dev, "mux-controls")) {
>               ret = am654_select_hbmc(dev);
>               if (ret) {

Thanks for the patch.

-- 
Regards
Vignesh
https://ti.com/opensource

Reply via email to