[U-Boot] [Patch 5/8 Part2/3] add at91 SoC access with c structures

Jens Scharsig esw at bus-elektronik.de
Fri Jan 15 15:49:36 CET 2010


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



More information about the U-Boot mailing list