From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Sat, 20 Jun 2009 15:13:54 +0200 Subject: [U-Boot] [PATCH 1/7] mx27: basic cpu support In-Reply-To: <1244419971-13895-2-git-send-email-yanok@emcraft.com> References: <1244419971-13895-1-git-send-email-yanok@emcraft.com> <1244419971-13895-2-git-send-email-yanok@emcraft.com> Message-ID: <20090620131354.GG3849@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > + > +#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.