From ba169d981f80517f057bf635df7e3dab203b9cea Mon Sep 17 00:00:00 2001 From: Anatolij Gustschin Date: Mon, 13 Jun 2016 14:24:24 +0200 Subject: [PATCH] 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 --- common/board_f.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;