>> +/* reset time */
>> +at91_tc_t *tc = (at91_tc_t *) AT91_TC_BASE;
>> +lastinc = readl(&tc->tc[0].cv) & 0x;
>> +timestamp = 0;
>
> rm9200 did not zero out the top bits
> Is this needed ?
>
The datasheet say not, is bit 16 to 31 of cv high or low.
>> +typedef struct at91
Tom wrote:
>
> Many copyrights like this
> Please check
>
>> + *
>> + * Copyright (C) 1999 2000 2001 Erik Mouw (j.a.k.m...@its.tudelft.nl) and
>> + * Jan-Derk Bakker (j.d.bak...@its.tudelft.nl)
>> + *
>> + * Modified for the at91rm9200dk board by
>
> Maybe change to
> 'Based on t
Jens Scharsig wrote:
> * prepare joining at91 and at91rm9200
> * please read README.soc-at91 for details
>
It looks like a lot of these files are copies.
Please explain in the commit log what you are
doing. Such as
cpu/arm920t/at91/timer.c is a copy of ..
These are the parts changed.
1.
2.
It
* prepare joining at91 and at91rm9200
* please read README.soc-at91 for details
Signed-off-by: Jens Scharsig
---
cpu/arm920t/at91/Makefile | 47 +
cpu/arm920t/at91/lowlevel_init.S | 177
cpu/arm920t/at91/reset.c | 59
4 matches
Mail list logo