[U-Boot] [PATCH v1] bfin: Move gpio support for bf54x and bf60x into the generic driver folder.

Sonic Zhang sonic.adi at gmail.com
Fri May 3 06:53:21 CEST 2013


Hi Mike,

On Fri, May 3, 2013 at 12:23 AM, Mike Frysinger <vapier at gentoo.org> wrote:
> On Thursday 02 May 2013 01:55:25 Sonic Zhang wrote:
>> The gpio spec for bf54x and bf60x differ a lot from the old gpio driver for
>> bf5xx. A lot of machine macros are used to accomodate both code in one
>> gpio driver. This patch split the old gpio driver and move new gpio2
>> support to the generic gpio driver folder.
>>
>> - To enable gpio2 driver, macro CONFIG_ADI_GPIO2 should be defined in the
>> board's config header file.
>> - The gpio2 driver supports bf54x, bf60x and future ADI processors, while
>> the older gpio driver supports bf50x, bf51x, bf52x, bf53x and bf561.
>> - All blackfin specific gpio function names are replaced by the generic
>> gpio APIs.
>
> the code in u-boot was written so as to make direct import from the kernel
> trivial.  that way there is only one code base to maintain -- the kernel.
> last i looked, you hadn't split the drivers in the kernel, which means things
> are now diverging.

Don't worry. I will do it in Linux kernel soon after this is merged into u-boot.

Regards,

Sonic


More information about the U-Boot mailing list