Hi Stefano, On Sat, Aug 18, 2012 at 12:26 PM, Stefano Babic <sbabic at denx.de> wrote: > +#define GPIO_NUMBER(port, index) ((((port)-1)*32)+((index)&31)) What about calling this macro IMX_GPIO_NR instead? This way we can have the same macro name in U-boot and in the kernel. Thanks, Fabio Estevam