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/lib | |
parent | 26e6da854e70be8e3fb0dab7bbe41119b701ebe1 (diff) | |
download | u-boot-imx-bcbb046bd5cba6acb07aa99cad728726be8359e6.zip u-boot-imx-bcbb046bd5cba6acb07aa99cad728726be8359e6.tar.gz u-boot-imx-bcbb046bd5cba6acb07aa99cad728726be8359e6.tar.bz2 |
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/lib')
-rw-r--r-- | arch/microblaze/lib/board.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c index b5f21d8..fde109f 100644 --- a/arch/microblaze/lib/board.c +++ b/arch/microblaze/lib/board.c @@ -42,9 +42,6 @@ DECLARE_GLOBAL_DATA_PTR; #ifdef CONFIG_SYS_GPIO_0 extern int gpio_init (void); #endif -#ifdef CONFIG_SYS_TIMER_0 -extern int timer_init (void); -#endif #ifdef CONFIG_SYS_FSL_2 extern void fsl_init2 (void); #endif @@ -74,9 +71,7 @@ init_fnc_t *init_sequence[] = { gpio_init, #endif interrupts_init, -#ifdef CONFIG_SYS_TIMER_0 timer_init, -#endif #ifdef CONFIG_SYS_FSL_2 fsl_init2, #endif |