From: Michal Simek Date: Wed, 16 Sep 2020 11:20:55 +0000 (+0200) Subject: clk: fixed-rate: Enable DM_FLAG_PRE_RELOC flag X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=4ab3817ff16a154981f9394a2c4a0f8f6a72713b;p=u-boot.git clk: fixed-rate: Enable DM_FLAG_PRE_RELOC flag 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 --- diff --git a/drivers/clk/clk_fixed_rate.c b/drivers/clk/clk_fixed_rate.c index 2c20eddb0b..55e1f8caa5 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, };