projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46d7a3b
)
board_f: prevent misleading "Watchdog enabled" output
author
Anatolij Gustschin
<agust@denx.de>
Mon, 13 Jun 2016 12:24:24 +0000
(14:24 +0200)
committer
Tom Rini
<trini@konsulko.com>
Thu, 14 Jul 2016 22:33:09 +0000
(18:33 -0400)
Output the "Watchdog enabled" message only if hw_watchdog_init()
call really happened.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
common/board_f.c
patch
|
blob
|
history
diff --git
a/common/board_f.c
b/common/board_f.c
index 05f60269eb0ea9e62c9b31c1955a8191875a7b53..8d936cc0b7bae9af144afe7e75d3b68f042708ea 100644
(file)
--- 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;