On 06/30/2011 11:57 AM, Matthias Weisser wrote:
> Need this function for autoboot keyd
> 

Hi Matthias,

> +/*
> + * This function is derived from PowerPC code (timebase clock frequency).
> + * On ARM it returns the number of timer ticks per second.
> + */
> +ulong get_tbclk(void)
> +{
> +     ulong tbclk;
> +
> +     tbclk = CONFIG_MX25_CLK32;
> +     return tbclk;
> +}

Which is the advantage to add this function instead using directly
CONFIG_MX25_CLK32 in the caller ? It is not me so clear..

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: off...@denx.de
=====================================================================
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to