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

Fabio Estevam festevam at gmail.com
Sun Aug 19 00:59:26 CEST 2012


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


More information about the U-Boot mailing list