]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
common/board_f: add at91 wdt
authorHeiko Schocher <hs@denx.de>
Wed, 21 Jan 2015 07:38:21 +0000 (08:38 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 10:59:14 +0000 (12:59 +0200)
call hw_watchdog_init() also if CONFIG_AT91SAM9_WATCHDOG
is used.

Signed-off-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/board_f.c

index c172ea1acb8a08be9f7adc92322d327793151205..5dd9c3e18a883c62fc78283b00d62c2069d66149 100644 (file)
@@ -111,7 +111,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_SH) || defined(CONFIG_AT91SAM9_WATCHDOG))
        hw_watchdog_init();
 # endif
        puts("       Watchdog enabled\n");