From: Anatolij Gustschin Date: Mon, 13 Jun 2016 14:24:24 +0200 Subject: [U-Boot] [PATCH 2/2] board_f: prevent misleading "Watchdog enabled" output In-Reply-To: <1465820664-10004-1-git-send-email-agust@denx.de> References: <1465820664-10004-1-git-send-email-agust@denx.de> Message-ID: <1465820664-10004-2-git-send-email-agust@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 0e2e6bc..9f6e4cc 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; -- 1.7.9.5