mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-28 23:23:30 +08:00
board_f: prevent misleading "Watchdog enabled" output
Output the "Watchdog enabled" message only if hw_watchdog_init() call really happened. Signed-off-by: Anatolij Gustschin <agust@denx.de>
This commit is contained in:
parent
46d7a3b3d3
commit
ba169d981f
@ -120,8 +120,8 @@ static int init_func_watchdog_init(void)
|
||||
defined(CONFIG_DESIGNWARE_WATCHDOG) || \
|
||||
defined(CONFIG_IMX_WATCHDOG))
|
||||
hw_watchdog_init();
|
||||
# endif
|
||||
puts(" Watchdog enabled\n");
|
||||
# endif
|
||||
WATCHDOG_RESET();
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user