diff options
author | Michal Simek <monstr@monstr.eu> | 2012-06-29 13:46:54 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2012-09-11 09:24:58 +0200 |
commit | bcbb046bd5cba6acb07aa99cad728726be8359e6 (patch) | |
tree | 4f12511039a8bf02fddfb4b40042106225b10ec3 /arch/microblaze/include/asm | |
parent | 26e6da854e70be8e3fb0dab7bbe41119b701ebe1 (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.h | 3 |
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); + |