board_f: init designware watchdog if CONFIG_DESIGNWARE_WATCHDOG=y
authorAnatolij Gustschin <agust@denx.de>
Mon, 13 Jun 2016 12:24:23 +0000 (14:24 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 14 Jul 2016 22:33:08 +0000 (18:33 -0400)
The designware watchdog init is skipped even if CONFIG_DESIGNWARE_WATCHDOG
is enabled. Fix it.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
common/board_f.c

index d405b5b407e817677afcea7f626c44c2c9c16d23..05f60269eb0ea9e62c9b31c1955a8191875a7b53 100644 (file)
@@ -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