From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Scharsig Date: Fri, 15 Jan 2010 15:49:36 +0100 Subject: [U-Boot] [Patch 5/8 Part2/3] add at91 SoC access with c structures In-Reply-To: References: Message-ID: <4B508080.2080207@bus-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de File at91_pio.h inserts following line: > +#define AT91_PORTPIN(PORT, PIN) ((0x0##PORT - 10)*32+((PIN) & 0x1F)) this is wrong, sorry about this. I will resend this patch as soon as posible. In the meantime you can manually change the line to #define AT91_PORTPIN(PORT, PIN) ((0x0##PORT - 9) * 32 + ((PIN) & 0x1F)) Best regards Jens Scharsig