From: Thomas Abraham <thomas...@samsung.com>

The fixed rate clock driver could be used to represent oscillator
clocks. Platforms that need to determine the rate of the oscillator
clock frequency would require that the fixed rate clock driver
be available for use prior to relocation. So add the
DM_FLAG_PRE_RELOC property to the driver flags.

Cc: Masahiro Yamada <yamada.masah...@socionext.com>
Cc: Simon Glass <s...@chromium.org>
Signed-off-by: Thomas Abraham <thomas...@samsung.com>
---
 drivers/clk/clk_fixed_rate.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/clk/clk_fixed_rate.c b/drivers/clk/clk_fixed_rate.c
index 8beda9c..070e568 100644
--- a/drivers/clk/clk_fixed_rate.c
+++ b/drivers/clk/clk_fixed_rate.c
@@ -54,4 +54,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,
 };
-- 
1.6.6.rc2

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to