On 17/08/2012 23:03, Benoît Thébaudeau wrote:
>
> OK, then for mx25/35/5/6, would you like in timer.c something like:
> #ifdef CONFIG_SYS_MX{*}_CLK32
> #define CLK_32KHZ CONFIG_SYS_MX{*}_CLK32
> #else
> #define CLK_32KHZ 32768
> #endif
>
> {*}: 25, 35, 5 or 6
>
> In that way, this definition could be removed from most boards, and that would
> still allow exceptions and be future-proof.
Yes, this is exactly what I meant.
Best regards,
Stefano
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot