From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sun, 19 Feb 2017 21:25:30 -0500 Subject: [U-Boot] [PATCH 4/7] ti: wdt: hwinit-common: Remove legacy watchdog disable code In-Reply-To: <1487543082-24746-6-git-send-email-lukma@denx.de> References: <1487543082-24746-1-git-send-email-lukma@denx.de> <1487543082-24746-6-git-send-email-lukma@denx.de> Message-ID: <20170220022530.GH27120@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Feb 19, 2017 at 11:24:39PM +0100, Lukasz Majewski wrote: > This patch removes some legacy code inherited from omap4. It is redundant > to the code already available in ./drivers/watchdog/omap_wdt.c > > The code dates back to 2010: > "ARMV7: Add basic support for TI OMAP4" > SHA1: d34efc767d26d353e0257042080eec7012e5440f > > In contemporary u-boot omap watchdog: > - Can be enabled in SPL: > TI watchdog is initialized in spl_board_init() (call to hw_watchdog_init) > > - Is explicitly disabled before making any changes of its registers > > - Is re-enabled in init_func_watchdog_init() in ./common/board_f.c with > other architectures. > > This patch removes silent watchdog disable on TI platform, which caused > lack of wdt protection in u-boot even when it was explicitly enabled (in > SPL) with CONFIG_HW_WATCHDOG. > > Signed-off-by: Lukasz Majewski Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: