[U-Boot] [PATCH 1/3] i.mx: i.mx6q: Add the enet clock function

Stefano Babic sbabic at denx.de
Fri Dec 16 12:21:53 CET 2011


On 13/12/2011 14:44, Jason Liu wrote:
> Cc: Stefano Babic <sbabic at denx.de>
> Signed-off-by: Jason Liu <jason.hui at linaro.org>
> ---
>  arch/arm/cpu/armv7/mx6/clock.c |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/cpu/armv7/mx6/clock.c b/arch/arm/cpu/armv7/mx6/clock.c
> index b143535..fa3a124 100644
> --- a/arch/arm/cpu/armv7/mx6/clock.c
> +++ b/arch/arm/cpu/armv7/mx6/clock.c
> @@ -285,6 +285,11 @@ u32 imx_get_uartclk(void)
>  	return get_uart_clk();
>  }
>  
> +u32 imx_get_fecclk(void)
> +{
> +	return decode_pll(PLL_ENET, CONFIG_SYS_MX6_HCLK);
> +}
> +
>  unsigned int mxc_get_clock(enum mxc_clock clk)
>  {
>  	switch (clk) {

Acked-by: Stefano Babic <sbabic at denx.de>

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list