imx233: fix user timer
commit709827b5ea23f0df86a8056b73bf71fa93cc6681
authorAmaury Pouly <amaury.pouly@gmail.com>
Sun, 21 Oct 2012 12:42:32 +0000 (21 14:42 +0200)
committerAmaury Pouly <amaury.pouly@gmail.com>
Sun, 21 Oct 2012 12:45:09 +0000 (21 14:45 +0200)
tree0350774c2897d483c624e71fefd1191bd3e936b7
parente86991f484f29891b969e851680f66e1948542fa
imx233: fix user timer

The running count is only 16-bit wide, since the always tick
setting derives from the crystal clock at 24MHz the user timer
cannot be set lower than ~300Hz which is already too high.
Switch to the 32KHz crystal source to fix this.

Change-Id: Ie7775460b17ea7ab331738734e3d688ad5563857
firmware/export/imx233.h
firmware/target/arm/imx233/timer-imx233.c