summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2016-06-13 12:24:24 (GMT)
committerTom Rini <trini@konsulko.com>2016-07-14 22:33:09 (GMT)
commitba169d981f80517f057bf635df7e3dab203b9cea (patch)
tree5019435144fadaa8b4d0623244b3ea4319877f41
parent46d7a3b3d37aed4381765fd6985d06031d0e2a52 (diff)
downloadu-boot-ba169d981f80517f057bf635df7e3dab203b9cea.tar.xz
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>
-rw-r--r--common/board_f.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_f.c b/common/board_f.c
index 05f6026..8d936cc 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -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;