diff options
author | Alessandro Rubini <rubini@unipv.it> | 2009-06-29 10:52:37 +0200 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-07-06 21:53:08 +0200 |
commit | 095a460b49022e64df76134300643606e3acb4e9 (patch) | |
tree | 6edc78d0895391b9f3a55cfc478f039f4174c485 /include/configs | |
parent | f7aa59b29a451cc502078a9e4ba32345a4250c05 (diff) | |
download | u-boot-imx-095a460b49022e64df76134300643606e3acb4e9.zip u-boot-imx-095a460b49022e64df76134300643606e3acb4e9.tar.gz u-boot-imx-095a460b49022e64df76134300643606e3acb4e9.tar.bz2 |
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')
-rw-r--r-- | include/configs/nhk8815.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/nhk8815.h b/include/configs/nhk8815.h index bf1a915..3e2e09f 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 */ |