From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Abraham Date: Wed, 13 Apr 2016 16:13:36 +0530 Subject: [U-Boot] [PATCH 3/9] clk: fixed_rate: allow driver usage prior to relocation In-Reply-To: <1460544222-5342-1-git-send-email-ta.omasab@gmail.com> References: <1460544222-5342-1-git-send-email-ta.omasab@gmail.com> Message-ID: <1460544222-5342-4-git-send-email-ta.omasab@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Thomas Abraham 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 Cc: Simon Glass Signed-off-by: Thomas Abraham --- 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