
Following patch series comprise various fixes for OMAP Watchdog:
- Disable watchdog during init (as done in recent Linux kernel)
- Enable OMAP watchdog in init_func_watchdog_init
- Extract OMAP WDT (omap_wdt) header file to be resued not only on am335x SoC
- Remove implicit WDT disable code from hwinit-common.c file
- Setup the watchdog timeout via CONFIG_HW_WATCHDOG_TIMEOUT_MS
Tested at am57xx (dra7) SoC
Lukasz Majewski (7): ti: wdt: common: Make the wdt IP defines common for the TI platform ti: wdt: omap5: Define WDT_BASE for omap5+ SoC ti: wdt: omap: Disable watchdog timer before performing initialization ti: wdt: hwinit-common: Remove legacy watchdog disable code ti: wdt: omap5: Remove not needed struct watchdog definition ti: wdt: omap: Use COMMON_HW_WATCHDOG_TIMEOUT_MS to specify watchdog timeout ti: wdt: Enable OMAP watchdog in u-boot's board_f.c
arch/arm/include/asm/arch-am33xx/cpu.h | 48 +------------------------ arch/arm/include/asm/arch-omap5/cpu.h | 17 ++------- arch/arm/include/asm/ti-common/omap_wdt.h | 60 +++++++++++++++++++++++++++++++ arch/arm/mach-omap2/hwinit-common.c | 27 -------------- common/board_f.c | 2 +- drivers/watchdog/omap_wdt.c | 45 +++++++++++++---------- 6 files changed, 92 insertions(+), 107 deletions(-) create mode 100644 arch/arm/include/asm/ti-common/omap_wdt.h