diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2013-04-07 18:02:37 +0800 |
---|---|---|
committer | Sonic Zhang <sonic.zhang@analog.com> | 2013-05-13 16:30:26 +0800 |
commit | e9a389a18477c1c57a0b30e9ea8f4d38c6e26e63 (patch) | |
tree | 4e0c9e5c15d316a8e16c10c428e44e41bf58e1b5 /include/watchdog.h | |
parent | 13262d4cdab79b6ee8d9c6089f84132a4c9372a4 (diff) | |
download | u-boot-e9a389a18477c1c57a0b30e9ea8f4d38c6e26e63.tar.gz |
blackfin: Move blackfin watchdog driver out of the blackfin arch folder.
- Enable hw_watchdog_init() in watchdog.h if CONFIG_HW_WATCHDOG is defined.
- Move blackfin hw watchdog driver to the generic driver folder.
- Call hw_watchdog_init() from blackfin board init code.
- Reuse macro CONFIG_WATCHDOG_TIMEOUT_MSECS
- Update README.watchdog accordingly
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to 'include/watchdog.h')
-rw-r--r-- | include/watchdog.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/watchdog.h b/include/watchdog.h index 97ec186be3..d95e4b164d 100644 --- a/include/watchdog.h +++ b/include/watchdog.h @@ -108,8 +108,7 @@ int init_func_watchdog_reset(void); void reset_4xx_watchdog(void); #endif -/* Freescale i.MX */ -#if defined(CONFIG_IMX_WATCHDOG) && !defined(__ASSEMBLY__) +#if defined(CONFIG_HW_WATCHDOG) && !defined(__ASSEMBLY__) void hw_watchdog_init(void); #endif #endif /* _WATCHDOG_H_ */ |