>> +    /* reset time */
>> +    at91_tc_t *tc = (at91_tc_t *) AT91_TC_BASE;
>> +    lastinc = readl(&tc->tc[0].cv) & 0x0000ffff;
>> +    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_mc {
>> +    u32             rcr;            /* 0x00 MC Remap Control Register */

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to