[PATCH] clk: fixed-rate: Enable DM_FLAG_PRE_RELOC flag

Michal Simek monstr at monstr.eu
Wed Sep 23 14:32:20 CEST 2020


st 16. 9. 2020 v 13:40 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> fixed-rate driver is not different from clk_fixed_factor and it is required
> very early in boot that's why setup flag for it.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  drivers/clk/clk_fixed_rate.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/clk_fixed_rate.c b/drivers/clk/clk_fixed_rate.c
> index 2c20eddb0b5c..55e1f8caa520 100644
> --- a/drivers/clk/clk_fixed_rate.c
> +++ b/drivers/clk/clk_fixed_rate.c
> @@ -53,4 +53,5 @@ U_BOOT_DRIVER(clk_fixed_rate) = {
>         .ofdata_to_platdata = clk_fixed_rate_ofdata_to_platdata,
>         .platdata_auto_alloc_size = sizeof(struct clk_fixed_rate),
>         .ops = &clk_fixed_rate_ops,
> +       .flags = DM_FLAG_PRE_RELOC,
>  };
> --
> 2.28.0
>

Applied.
M

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs


More information about the U-Boot mailing list