[PATCH 2/3] clk: mpfs_clk: Enable DM_FLAG_PRE_RELOC flag

Padmarao Begari padmarao.b at gmail.com
Tue Apr 6 18:14:43 CEST 2021


On Wed, Mar 31, 2021 at 12:55 PM Bin Meng <bmeng.cn at gmail.com> wrote:

> This driver is needed in the pre-relocation phase as the serial
> driver depends on it.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  drivers/clk/microchip/mpfs_clk.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/microchip/mpfs_clk.c
> b/drivers/clk/microchip/mpfs_clk.c
> index 722c79b7c0..05d7647206 100644
> --- a/drivers/clk/microchip/mpfs_clk.c
> +++ b/drivers/clk/microchip/mpfs_clk.c
> @@ -120,4 +120,5 @@ U_BOOT_DRIVER(mpfs_clk) = {
>         .ops = &mpfs_clk_ops,
>         .probe = mpfs_clk_probe,
>         .priv_auto = sizeof(struct clk),
> +       .flags = DM_FLAG_PRE_RELOC,
>  };
> --
> 2.25.1
>
>
Reviewed-by: Padmarao Begari <padmarao.begari at microchip.com>
Tested-by: Padmarao Begari <padmarao.begari at microchip.com>


More information about the U-Boot mailing list