[PATCH] clk: fixed-rate: Enable DM_FLAG_PRE_RELOC flag
Michal Simek
michal.simek at xilinx.com
Wed Sep 16 13:40:20 CEST 2020
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
More information about the U-Boot
mailing list