From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Scharsig Date: Wed, 03 Feb 2010 22:44:39 +0100 Subject: [U-Boot] [PATCH 7/9 V3] prepare joining at91rm9200 into at91 In-Reply-To: <4B64DEC8.8030905@windriver.com> References: <4B5AD78C.2090509@scharsoft.de> <4B64DEC8.8030905@windriver.com> Message-ID: <4B69EE47.205@scharsoft.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de >> + /* 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 */