summaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2012-06-29 13:46:54 +0200
committerMichal Simek <monstr@monstr.eu>2012-09-11 09:24:58 +0200
commitbcbb046bd5cba6acb07aa99cad728726be8359e6 (patch)
tree4f12511039a8bf02fddfb4b40042106225b10ec3 /arch/microblaze/include/asm
parent26e6da854e70be8e3fb0dab7bbe41119b701ebe1 (diff)
microblaze: timer: Prepare for device-tree initialization
Fix CONFIG_SYS_HZ usage in board config. Do not use hardcoded value. Use CONFIG_SYS_HZ instead. Separate static configuration to single block. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm')
-rw-r--r--arch/microblaze/include/asm/microblaze_timer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/microblaze_timer.h b/arch/microblaze/include/asm/microblaze_timer.h
index 844c8db115..28e8b027cb 100644
--- a/arch/microblaze/include/asm/microblaze_timer.h
+++ b/arch/microblaze/include/asm/microblaze_timer.h
@@ -39,3 +39,6 @@ typedef volatile struct microblaze_timer_t {
int loadreg; /* load register TLR */
int counter; /* timer/counter register */
} microblaze_timer_t;
+
+int timer_init(void);
+