1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-30 06:51:28 +02:00

common/board_f: add at91 wdt

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>
This commit is contained in:
Heiko Schocher
2015-01-21 08:38:21 +01:00
committed by Andreas Bießmann
parent 49b461f34a
commit 2b8b38eaca

View File

@@ -111,7 +111,7 @@ static int init_func_watchdog_init(void)
{ {
# if defined(CONFIG_HW_WATCHDOG) && (defined(CONFIG_BLACKFIN) || \ # if defined(CONFIG_HW_WATCHDOG) && (defined(CONFIG_BLACKFIN) || \
defined(CONFIG_M68K) || defined(CONFIG_MICROBLAZE) || \ defined(CONFIG_M68K) || defined(CONFIG_MICROBLAZE) || \
defined(CONFIG_SH)) defined(CONFIG_SH) || defined(CONFIG_AT91SAM9_WATCHDOG))
hw_watchdog_init(); hw_watchdog_init();
# endif # endif
puts(" Watchdog enabled\n"); puts(" Watchdog enabled\n");