arm nomadik: use 1000 as HZ value and rewrite timer code
authorAlessandro Rubini <rubini@unipv.it>
Mon, 29 Jun 2009 08:52:37 +0000 (10:52 +0200)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Mon, 6 Jul 2009 19:53:08 +0000 (21:53 +0200)
commit095a460b49022e64df76134300643606e3acb4e9
tree6edc78d0895391b9f3a55cfc478f039f4174c485
parentf7aa59b29a451cc502078a9e4ba32345a4250c05
arm nomadik: use 1000 as HZ value and rewrite timer code

This sets CONFIG_SYS_HZ to 1000 as required, and completely rewrites
timer code, which is now both correct and much smaller.  Unused
functions like udelay_masked() have been removed as no driver uses
them, even the ones that are not currently active for this board.
mtu.h is copied literally from the kernel sources.

Signed-off-by: Alessandro Rubini <rubini@unipv.it>
Acked-by: Andrea Gallo <andrea.gallo@stericsson.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
cpu/arm926ejs/nomadik/timer.c
include/asm-arm/arch-nomadik/mtu.h [new file with mode: 0644]
include/configs/nhk8815.h