microblaze: timer: Prepare for device-tree initialization
authorMichal Simek <monstr@monstr.eu>
Fri, 29 Jun 2012 11:46:54 +0000 (13:46 +0200)
committerMichal Simek <monstr@monstr.eu>
Tue, 11 Sep 2012 07:24:58 +0000 (09:24 +0200)
commitbcbb046bd5cba6acb07aa99cad728726be8359e6
tree4f12511039a8bf02fddfb4b40042106225b10ec3
parent26e6da854e70be8e3fb0dab7bbe41119b701ebe1
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>
arch/microblaze/cpu/timer.c
arch/microblaze/include/asm/microblaze_timer.h
arch/microblaze/lib/board.c
include/configs/microblaze-generic.h