[uClinux-dev] [PATCH 01/22] m68knommu: introduce macros to simplify ColdFire GPIO table initialization

2012-04-25 Thread gerg
From: Greg Ungerer We have very large tables in the ColdFire CPU GPIO setup code that essentially boil down to 2 distinct types of GPIO pin initiaization. Using 2 macros we can reduce these large tables to at most a dozen lines of setup code, and in quite a few cases a single table entry. Introd

Re: [uClinux-dev] [PATCH 01/22] m68knommu: introduce macros to simplify ColdFire GPIO table initialization

2012-04-26 Thread Philippe De Muyter
Hi Greg, On Thu, Apr 26, 2012 at 10:25:41AM +1000, g...@snapgear.com wrote: > From: Greg Ungerer > > We have very large tables in the ColdFire CPU GPIO setup code that essentially > boil down to 2 distinct types of GPIO pin initiaization. Using 2 macros we can > reduce these large tables to at m

Re: [uClinux-dev] [PATCH 01/22] m68knommu: introduce macros to simplify ColdFire GPIO table initialization

2012-04-26 Thread Greg Ungerer
Hi Philippe, On 04/26/2012 05:16 PM, Philippe De Muyter wrote: Hi Greg, On Thu, Apr 26, 2012 at 10:25:41AM +1000, g...@snapgear.com wrote: From: Greg Ungerer We have very large tables in the ColdFire CPU GPIO setup code that essentially boil down to 2 distinct types of GPIO pin initiaization.