diff options
author | Michal Simek <michal.simek@xilinx.com> | 2013-10-16 09:06:32 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-10-16 09:24:38 -0400 |
commit | 8c4dba1a5e5ff67380ae8d54fd5756e44dc2da59 (patch) | |
tree | 3d6eb0b2ff42179bad5e5d9da3127d855c22726b /arch/microblaze/lib | |
parent | 100ea07e331b7898dc774aeba108d66bdd5a5cf5 (diff) | |
download | u-boot-imx-8c4dba1a5e5ff67380ae8d54fd5756e44dc2da59.zip u-boot-imx-8c4dba1a5e5ff67380ae8d54fd5756e44dc2da59.tar.gz u-boot-imx-8c4dba1a5e5ff67380ae8d54fd5756e44dc2da59.tar.bz2 |
microblaze: Fix watchdog initialization
The patch:
"blackfin: Move blackfin watchdog driver out of the blackfin arch folder."
(sha1: e9a389a18477c1c57a0b30e9ea8f4d38c6e26e63)
changed hw_watchdog_init() prototype which didn't match
with Microblaze one.
This patch fixes the driver and Microblaze initialization.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/lib')
-rw-r--r-- | arch/microblaze/lib/board.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c index f7182f2..896e73a 100644 --- a/arch/microblaze/lib/board.c +++ b/arch/microblaze/lib/board.c @@ -46,9 +46,6 @@ init_fnc_t *init_sequence[] = { serial_init, console_init_f, interrupts_init, -#ifdef CONFIG_XILINX_TB_WATCHDOG - hw_watchdog_init, -#endif timer_init, NULL, }; @@ -97,6 +94,9 @@ void board_init_f(ulong not_used) serial_initialize(); +#ifdef CONFIG_XILINX_TB_WATCHDOG + hw_watchdog_init(); +#endif for (init_fnc_ptr = init_sequence; *init_fnc_ptr; ++init_fnc_ptr) { WATCHDOG_RESET(); if ((*init_fnc_ptr) () != 0) |