
20 Jun
2009
20 Jun
'09
3:13 p.m.
+#ifndef __ASM_ARCH_CLOCK_H +#define __ASM_ARCH_CLOCK_H +unsigned int imx_decode_pll(unsigned int pll, unsigned int f_ref);
+ulong imx_get_mpllclk(void);
I want to have common api scheme so I'll like to have this clock as the folling scheme (already for at91 as example)
get_arm_clk_rate() get_spm_clk_rate() etc...
this could be done in a later patch I'll add a note in the arm readme
+ulong imx_get_armclk(void); +ulong imx_get_spllclk(void); +ulong imx_get_fclk(void); +ulong imx_get_hclk(void); +ulong imx_get_bclk(void); +ulong imx_get_perclk1(void); +ulong imx_get_perclk2(void); +ulong imx_get_perclk3(void); +ulong imx_get_ahbclk(void);
applied to u-boot-arm
Best Regards, J.