mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02: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:
committed by
Tom Rini
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;
|
||||
|
Reference in New Issue
Block a user