From: Lukasz Majewski Date: Sun, 19 Feb 2017 23:24:35 +0100 Subject: [U-Boot] [PATCH 0/7] ti: wdt: Fixes for am57xx/dra7 Watchdog In-Reply-To: <1487543082-24746-1-git-send-email-lukma@denx.de> References: <1487543082-24746-1-git-send-email-lukma@denx.de> Message-ID: <1487543082-24746-2-git-send-email-lukma@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 -- 2.1.4