From: Mike Frysinger Date: Thu, 2 May 2013 12:23:01 -0400 Subject: [U-Boot] [PATCH v1] bfin: Move gpio support for bf54x and bf60x into the generic driver folder. In-Reply-To: <1367474125-4702-1-git-send-email-sonic.adi@gmail.com> References: <1367474125-4702-1-git-send-email-sonic.adi@gmail.com> Message-ID: <201305021223.02734.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: