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

Stefano Babic sbabic at denx.de
Sun Aug 19 10:35:38 CEST 2012


On 19/08/2012 02:25, Benoît Thébaudeau wrote:
> Hi Stefano,
> 
>>>>  #define MXC_GPIO_PORT_TO_NUM(port, bit) (((port - 1) << 5) + (bit
>>>>  &
>>>>  0x1f))
>>>
>>> Keeping this is also useless. GPIO_NUMBER() from the new
>>> <asm/imx-common/gpio.h>
>>> can be used instead everywhere needed.
>>
>> That is right - I drop it.
> 
> I don't know if you are aware of it, but just to let you know, I've seen the
> following patch that will interfere:
> http://patchwork.ozlabs.org/patch/165311/
> http://git.denx.de/?p=u-boot/u-boot-staging.git;a=commitdiff;h=72739219a12bf02820d29a89cb2b7fdc4d0e840f

Thanks, I cherry-pick it and I rebase on it.

Best 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-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list