From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Mon, 4 Aug 2014 11:25:31 -0700 Subject: [U-Boot] CPU Wachtog for P2041 In-Reply-To: <1401779120-20306-1-git-send-email-rainer.boschung@keymile.com> References: <1401779120-20306-1-git-send-email-rainer.boschung@keymile.com> Message-ID: <53DFD01B.309@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 06/03/2014 12:05 AM, Rainer Boschung wrote: > I am using the core watchdog of the P2041 on the kmp204x board. > > For the watchdog initialization I use the mpc85xx framework and > the powerpc register definitions. However, I had to modify both > for the following reasons (Patches 1 to 4): > -the e500mc register implementation differs from other ppc > -the watchdog init function was missing > > Additional function was added to the kmp204x board to use the > core WD reset in conjunction with the board specific reset > controller (Patches 5 to 9): > -trigger a core reset flow upon core WD reset request > -check for core WD reset occurance and set the reset reason > register accordingly. > Patch set was applied to mpc85xx master branch and awaiting for upstream. York