diff options
author | Anatolij Gustschin <agust@denx.de> | 2016-06-13 14:24:23 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-07-14 18:33:08 -0400 |
commit | 46d7a3b3d37aed4381765fd6985d06031d0e2a52 (patch) | |
tree | 6356ed82e1199e7244ebfc3801d360c1c5defc85 /common | |
parent | 0ec807b2d861ae4555bc0d5459a2e97596671b09 (diff) | |
download | u-boot-46d7a3b3d37aed4381765fd6985d06031d0e2a52.tar.gz |
board_f: init designware watchdog if CONFIG_DESIGNWARE_WATCHDOG=y
The designware watchdog init is skipped even if CONFIG_DESIGNWARE_WATCHDOG
is enabled. Fix it.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/board_f.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/board_f.c b/common/board_f.c index d405b5b407..05f60269eb 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -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 |