summaryrefslogtreecommitdiff
path: root/common/board_f.c
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2015-01-21 08:38:21 +0100
committerAndreas Bießmann <andreas.devel@googlemail.com>2015-02-07 23:43:18 +0100
commit2b8b38eacad9bd8dd0e30f324f2aa2b9d717e97a (patch)
treee5649d1fc04e9c913e058a072b9ad88a96e01847 /common/board_f.c
parent49b461f34a29fa88565c8cffa57a42a04ff36848 (diff)
downloadu-boot-imx-2b8b38eacad9bd8dd0e30f324f2aa2b9d717e97a.zip
u-boot-imx-2b8b38eacad9bd8dd0e30f324f2aa2b9d717e97a.tar.gz
u-boot-imx-2b8b38eacad9bd8dd0e30f324f2aa2b9d717e97a.tar.bz2
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>
Diffstat (limited to 'common/board_f.c')
-rw-r--r--common/board_f.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_f.c b/common/board_f.c
index 7953137..6c44dee 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -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");