[U-Boot] [PATCH] MX: Set a common gpio.h for all i.MX

stefano babic sbabic at denx.de
Sun Aug 19 09:46:45 CEST 2012


Am 19/08/2012 00:59, schrieb Fabio Estevam:
> 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.

Right, agree, fix in V2.

Regards,
Stefano


-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list