[U-Boot] [PATCH 1/7] mx27: basic cpu support

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Jun 20 15:13:54 CEST 2009


> +
> +#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.


More information about the U-Boot mailing list