From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Hobi Date: Tue, 20 Mar 2007 09:52:53 +0100 Subject: [U-Boot-Users] CONFIG_HW_WATCHDOG in 1.1.6 In-Reply-To: References: Message-ID: <45FFA0E5.1090006@gmx.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 20.03.2007 01:43, vb wrote: > I am trying to enable hardware watchdog in version 1.1.6 on an 85xx > based platform. > > I added CONFIG_HW_WATCHDOG definition to include/configs/.h > and provided the hw_watchdog_reset() function. The image compiled and > linked nicely, but once I run it in u-boot CLI (monitor) mode - it > gets killed by the watchdog in no time. The 85xx seems to support a timer interrupt based hardware watchdog model by enabling CONFIG_WATCHDOG (note the difference to your define). Have a look at these functions: cpu/mpc85xx/interrupts.c: timer_interrupt cpu/mpc85xx/cpu.c: reset_85xx_watchdog Maybe these fit your need? Best Regards, Daniel