[U-Boot] [PATCH 1/3] imx25: Move MXC_GPIO_PORT_TO_NUM to imx-regs.h

Vikram Narayanan vikram186 at gmail.com
Mon Jun 11 17:02:38 CEST 2012


Hello Fabio,

On 6/10/2012 8:33 PM, Fabio Estevam wrote:
> On Sun, Jun 10, 2012 at 10:02 AM, Vikram Narayanan<vikram186 at gmail.com>  wrote:
>> Move the macro to imx-regs.h so that the other mx25 boards can
>> make use of it.
>>
>> Signed-off-by: Vikram Narayanan<vikram186 at gmail.com>
>> ---
>>   arch/arm/include/asm/arch-mx25/gpio.h     |    4 ----
>>   arch/arm/include/asm/arch-mx25/imx-regs.h |    6 ++++++
>>   2 files changed, 6 insertions(+), 4 deletions(-)
>
> Also, this macro is useful not only for mx25, and it would be nice to
> let it avaible for the other i.MX SoCs as well.

Agree. But I guess u-boot doesn't have a common folder where this can be 
put up something like plat-mxc. So, I should think where to place this 
macro to avoid duplicates in many header files. Any pointers?

Thanks,
Vikram


More information about the U-Boot mailing list