[U-Boot] [PATCH v1] bfin: Move gpio support for bf54x and bf60x into the generic driver folder.
Mike Frysinger
vapier at gentoo.org
Thu May 2 18:23:01 CEST 2013
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.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130502/887b1bb8/attachment.pgp>
More information about the U-Boot
mailing list