[U-Boot] [i.MX8MM+CCF 12/41] clk: fixed_rate: add pre reloc flag
Peng Fan
peng.fan at nxp.com
Tue Apr 30 10:18:12 UTC 2019
Add pre reloc flag to use this driver before relocation
Signed-off-by: Peng Fan <peng.fan at nxp.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 069e643fbc..debada1463 100644
--- a/drivers/clk/clk_fixed_rate.c
+++ b/drivers/clk/clk_fixed_rate.c
@@ -45,4 +45,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.16.4
More information about the U-Boot
mailing list