Commit ba169d981f80517f057bf635df7e3dab203b9cea

Authored by Anatolij Gustschin
Committed by Tom Rini
1 parent 46d7a3b3d3

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -120,8 +120,8 @@
120 120 defined(CONFIG_DESIGNWARE_WATCHDOG) || \
121 121 defined(CONFIG_IMX_WATCHDOG))
122 122 hw_watchdog_init();
123   -# endif
124 123 puts(" Watchdog enabled\n");
  124 +# endif
125 125 WATCHDOG_RESET();
126 126  
127 127 return 0;