
Hi Guennadi,
Switch to the standard CFG_HZ=1000 value, while at it, minor white-space cleanup, remove CFG_CLKS_IN_HZ from config-headers. Tested on mx31ads, provides 2% or 0.4% precision depending on the CONFIG_MX31_TIMER_HIGH_PRECISION flag. Measured with stop-watch on 100s boot-delay.
Signed-off-by: Guennadi Liakhovetski lg@denx.de
Based on the current arm/next + the "i.MX31: Add reset_timer() and modify get_timer_masked()" patch from Magnus Lilja. Tests on other i.MX31 boards requested!
i tried to test your patch against latest git with "imx31_phycore_config" and
The patch applied without problems but the compilation failed with : .. .. /opt/OSELAS.Toolchain-1.1.0/arm-1136jfs-linux-gnueabi/gcc-4.1.2-glibc-2.5-kernel-2.6.18/lib/gcc/arm-1136jfs-linux-gnueabi/4.1.2/libgcc.a(_udivdi3.o): (.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0' make: *** [u-boot] Fehler 1
-Juergen