From: Anatolij Gustschin Date: Mon, 13 Jun 2016 12:24:24 +0000 (+0200) Subject: board_f: prevent misleading "Watchdog enabled" output X-Git-Tag: v2016.09-rc1~89 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ba169d981f80517f057bf635df7e3dab203b9cea;p=platform%2Fkernel%2Fu-boot.git 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 --- 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;