[U-Boot] [PATCH] Added watchdog support for davinchi_dm365evm

2012-05-20 Thread Stijn Souffriau
--- board/davinci/dm365evm/dm365evm.c | 68 include/configs/davinci_dm365evm.h | 11 ++ 2 files changed, 79 insertions(+), 0 deletions(-) diff --git a/board/davinci/dm365evm/dm365evm.c b/board/davinci/dm365evm/dm365evm.c index ac54106..fb05019 100644

Re: [U-Boot] [PATCH] Added watchdog support for davinchi_dm365evm

2012-05-20 Thread Mike Frysinger
On Sunday 20 May 2012 12:50:40 Stijn Souffriau wrote: > --- a/board/davinci/dm365evm/dm365evm.c > +++ b/board/davinci/dm365evm/dm365evm.c > > +#ifdef CONFIG_HW_WATCHDOG > +static struct davinci_timer * const wdttimer = > +(struct davinci_timer *)CONFIG_SYS_WDTTIMERBASE; > + > +/* WDTCR bit

Re: [U-Boot] [PATCH] Added watchdog support for davinchi_dm365evm

2012-05-20 Thread Heiko Schocher
Hello Stijn, Stijn Souffriau wrote: > --- > board/davinci/dm365evm/dm365evm.c | 68 > > include/configs/davinci_dm365evm.h | 11 ++ > 2 files changed, 79 insertions(+), 0 deletions(-) Why you add this here board specific? Why you do not use existing

Re: [U-Boot] [PATCH] Added watchdog support for davinchi_dm365evm

2012-06-02 Thread Stijn Souffriau
Hello Heiko, First of all, sorry it took so long for me to reply. Because the code in arch/arm/cpu/arm926ejs/davinci/timer.c didn't work for the davinci dm365evm, I tried. If you look at the code you will find that the operations are similar but different. Maybe this code works for more chip

Re: [U-Boot] [PATCH] Added watchdog support for davinchi_dm365evm

2012-06-02 Thread Stijn Souffriau
On 05/20/2012 08:59 PM, Mike Frysinger wrote: On Sunday 20 May 2012 12:50:40 Stijn Souffriau wrote: --- a/board/davinci/dm365evm/dm365evm.c +++ b/board/davinci/dm365evm/dm365evm.c +#ifdef CONFIG_HW_WATCHDOG +static struct davinci_timer * const wdttimer = +(struct davinci_timer *)CONFIG_

Re: [U-Boot] [PATCH] Added watchdog support for davinchi_dm365evm

2012-07-19 Thread Mike Frysinger
On Saturday 02 June 2012 11:32:14 Stijn Souffriau wrote: > On 05/20/2012 08:59 PM, Mike Frysinger wrote: > > On Sunday 20 May 2012 12:50:40 Stijn Souffriau wrote: > >> --- a/board/davinci/dm365evm/dm365evm.c > >> +++ b/board/davinci/dm365evm/dm365evm.c > >> > >> +#ifdef CONFIG_HW_WATCHDOG > >> +st