Skip to content

Commit

Permalink
board_f: init designware watchdog if CONFIG_DESIGNWARE_WATCHDOG=y
Browse files Browse the repository at this point in the history
The designware watchdog init is skipped even if CONFIG_DESIGNWARE_WATCHDOG
is enabled. Fix it.

Signed-off-by: Anatolij Gustschin <[email protected]>
  • Loading branch information
vdsao authored and trini committed Jul 14, 2016
1 parent 0ec807b commit 46d7a3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/board_f.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ static int init_func_watchdog_init(void)
# if defined(CONFIG_HW_WATCHDOG) && (defined(CONFIG_BLACKFIN) || \
defined(CONFIG_M68K) || defined(CONFIG_MICROBLAZE) || \
defined(CONFIG_SH) || defined(CONFIG_AT91SAM9_WATCHDOG) || \
defined(CONFIG_DESIGNWARE_WATCHDOG) || \
defined(CONFIG_IMX_WATCHDOG))
hw_watchdog_init();
# endif
Expand Down

0 comments on commit 46d7a3b

Please sign in to comment.