[U-Boot] [PATCH 7/9 V3] prepare joining at91rm9200 into at91

Jens Scharsig js_at_ng at scharsoft.de
Wed Feb 3 22:44:39 CET 2010


>> +	/* 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 */



More information about the U-Boot mailing list