
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 chips than the dm365 but I was hoping someone from TI might be able to tell me that. In any case, it's better to have support for one chip than for none.
Best Regards,
Stijn
On 05/21/2012 08:17 AM, Heiko Schocher wrote:
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 watchdog code in arch/arm/cpu/arm926ejs/davinci/timer.c ?
Ok, it needs some cleanup, but this should work for dm365 too ...
bye, Heiko
-- Stijn Souffriau Embedded Software Developer - Mind Embedded Software Division
ESSENSIUM nv Mind - Embedded Software Division Gaston Geenslaan 9 - B-3001 Leuven email : stijn.souffriau@essensium.com Web: www.essensium.com / www.mind.be BE 872 984 063 RPR Leuven