omap34x: Add suffix to DPLL tables and related function
Subsystems (3)
PATCH 1/1 omap34x: Add suffix to DPLL tables and related function
This patch adds suffix 34x to DPLL tables and related functions to indicate that they are applicable to OMAP34XX only.
The suffix was required to prepare for support of OMAP36XX in the subsequent patch series.
Signed-off-by Sanjeev Premi <[email protected]>
--- arch/arm/mach-omap/include/mach/omap3-clock.h | 8 ++-- arch/arm/mach-omap/omap3_clock.c | 8 ++-- arch/arm/mach-omap/omap3_clock_core.S | 56 ++++++++++++------------ 3 files changed, 36 insertions(+), 36 deletions(-)
arch/arm/mach-omap/include/mach/omap3-clock.h +4 -4
@@ -125,10 +125,10 @@ struct dpll_param { unsigned int m2; };/* External functions see omap3_clock_core.S */ -extern struct dpll_param *get_mpu_dpll_param (u32 ); -extern struct dpll_param *get_iva_dpll_param (u32 ); -extern struct dpll_param *get_core_dpll_param (u32 ); -extern struct dpll_param *get_per_dpll_param (u32 ); +extern struct dpll_param *get_mpu_dpll_param_34x (u32 ); +extern struct dpll_param *get_iva_dpll_param_34x (u32 ); +extern struct dpll_param *get_core_dpll_param_34x (u32 ); +extern struct dpll_param *get_per_dpll_param_34x (u32 );#endif /* __ASSEMBLY__ */
arch/arm/mach-omap/omap3_clock.c +4 -4
@@ -144,7 +144,7 @@ static void get_sys_clkin_sel(u32 osc_clk, u32 *sys_clkin_sel)*/ static void init_core_dpll_34x (u32 cpu_rev,u32 clk_sel) { -struct dpll_param *dp =get_core_dpll_param (cpu_rev); +struct dpll_param *dp =get_core_dpll_param_34x (cpu_rev);#ifdef CONFIG_OMAP3_COPY_CLOCK_SRAM int p0, p1, p2, p3;#endif
@@ -242,7 +242,7 @@ static void init_core_dpll_34x(u32 cpu_rev, u32 clk_sel)*/ static void init_per_dpll_34x (u32 cpu_rev,u32 clk_sel) { -struct dpll_param *dp =get_per_dpll_param (cpu_rev); +struct dpll_param *dp =get_per_dpll_param_34x (cpu_rev); dp += clk_sel;
@@ -300,7 +300,7 @@ static void init_per_dpll_34x(u32 cpu_rev, u32 clk_sel)*/ static void init_mpu_dpll_34x (u32 cpu_rev,u32 clk_sel) { -struct dpll_param *dp =get_mpu_dpll_param (cpu_rev); +struct dpll_param *dp =get_mpu_dpll_param_34x (cpu_rev); dp += clk_sel;
@@ -325,7 +325,7 @@ static void init_mpu_dpll_34x(u32 cpu_rev, u32 clk_sel)*/ static void init_iva_dpll_34x (u32 cpu_rev,u32 clk_sel) { -struct dpll_param *dp =get_iva_dpll_param (cpu_rev); +struct dpll_param *dp =get_iva_dpll_param_34x (cpu_rev); dp += clk_sel;
arch/arm/mach-omap/omap3_clock_core.S +28 -28
144 lines not on this page · raw message
Signature · 7 lines
1.7.2.2 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox