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: https://git.sur5r.net/?a=commitdiff_plain;h=ba169d981f80517f057bf635df7e3dab203b9cea;p=u-boot 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 05f60269eb..8d936cc0b7 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;