[U-Boot] [PATCH 3/9] clk: fixed_rate: allow driver usage prior to relocation
Thomas Abraham
ta.omasab at gmail.com
Wed Apr 13 12:43:36 CEST 2016
From: Thomas Abraham <thomas.ab at 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.masahiro at socionext.com>
Cc: Simon Glass <sjg at chromium.org>
Signed-off-by: Thomas Abraham <thomas.ab at 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
More information about the U-Boot
mailing list