]> git.sur5r.net Git - u-boot/commit
blackfin: Move blackfin watchdog driver out of the blackfin arch folder.
authorSonic Zhang <sonic.zhang@analog.com>
Sun, 7 Apr 2013 10:02:37 +0000 (18:02 +0800)
committerSonic Zhang <sonic.zhang@analog.com>
Mon, 13 May 2013 08:30:26 +0000 (16:30 +0800)
commite9a389a18477c1c57a0b30e9ea8f4d38c6e26e63
tree4e0c9e5c15d316a8e16c10c428e44e41bf58e1b5
parent13262d4cdab79b6ee8d9c6089f84132a4c9372a4
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>
arch/blackfin/cpu/Makefile
arch/blackfin/cpu/initcode.c
arch/blackfin/cpu/start.S
arch/blackfin/cpu/watchdog.c [deleted file]
arch/blackfin/lib/board.c
doc/README.watchdog
drivers/watchdog/Makefile
drivers/watchdog/bfin_wdt.c [new file with mode: 0644]
include/configs/bfin_adi_common.h
include/watchdog.h