summaryrefslogtreecommitdiff
path: root/include/configs/nhk8815.h
diff options
context:
space:
mode:
authorAlessandro Rubini <rubini@unipv.it>2009-06-29 10:52:37 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-07-06 21:53:08 +0200
commit095a460b49022e64df76134300643606e3acb4e9 (patch)
tree6edc78d0895391b9f3a55cfc478f039f4174c485 /include/configs/nhk8815.h
parentf7aa59b29a451cc502078a9e4ba32345a4250c05 (diff)
downloadu-boot-095a460b49022e64df76134300643606e3acb4e9.tar.gz
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>
Diffstat (limited to 'include/configs/nhk8815.h')
-rw-r--r--include/configs/nhk8815.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/nhk8815.h b/include/configs/nhk8815.h
index bf1a915381..3e2e09fb83 100644
--- a/include/configs/nhk8815.h
+++ b/include/configs/nhk8815.h
@@ -96,7 +96,7 @@
#define CONFIG_MISC_INIT_R /* call misc_init_r during start up */
/* timing informazion */
-#define CONFIG_SYS_HZ (2400000 / 256) /* Timer0: 2.4Mhz + divider */
+#define CONFIG_SYS_HZ 1000 /* Mandatory... */
#define CONFIG_SYS_TIMERBASE 0x101E2000
/* serial port (PL011) configuration */