Skip to content
Snippets Groups Projects
Commit 27ac87d9 authored by Anatolij Gustschin's avatar Anatolij Gustschin Committed by Albert ARIBAUD
Browse files

arch/arm/cpu/armv7/omap-common/clocks-common.c: Fix build warnings


Fix:
clocks-common.c: In function 'setup_non_essential_dplls':
clocks-common.c:323:6: warning: variable 'sys_clk_khz' set but not used
[-Wunused-but-set-variable]
clocks-common.c: In function 'setup_non_essential_dplls':
clocks-common.c:323:6: warning: variable 'sys_clk_khz' set but not used
[-Wunused-but-set-variable]

Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
Cc: Tom Rini <trini@ti.com>
parent 3fbc6931
No related branches found
No related tags found
No related merge requests found
...@@ -320,11 +320,9 @@ static void setup_dplls(void) ...@@ -320,11 +320,9 @@ static void setup_dplls(void)
#ifdef CONFIG_SYS_CLOCKS_ENABLE_ALL #ifdef CONFIG_SYS_CLOCKS_ENABLE_ALL
static void setup_non_essential_dplls(void) static void setup_non_essential_dplls(void)
{ {
u32 sys_clk_khz, abe_ref_clk; u32 abe_ref_clk;
const struct dpll_params *params; const struct dpll_params *params;
sys_clk_khz = get_sys_clk_freq() / 1000;
/* IVA */ /* IVA */
clrsetbits_le32(&prcm->cm_bypclk_dpll_iva, clrsetbits_le32(&prcm->cm_bypclk_dpll_iva,
CM_BYPCLK_DPLL_IVA_CLKSEL_MASK, DPLL_IVA_CLKSEL_CORE_X2_DIV_2); CM_BYPCLK_DPLL_IVA_CLKSEL_MASK, DPLL_IVA_CLKSEL_CORE_X2_DIV_2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment