Hello Greg, On Thu, Apr 26, 2012 at 11:14:51PM +1000, g...@snapgear.com wrote: > From: Greg Ungerer <g...@uclinux.org> > ... > > +/* > + * Define macros to ease the pain of setting up the GPIO tables. There > + * is two cases we need to deal with here, they cover all currently > + * available ColdFire GPIO hardware. There is of course minor differences > + * in the layout and number of bits in each ColdFire part, but the macros > + * take all that in. > + * > + * Firstly is the conventional GPIO registers where we toggle individual > + * bits in a register, preserving the other bits in the register. For > + * lack of a better term I have called this the slow method. > + */ > +#define MCFGPS(mlabel, mbase, mngpio, mpddr, mpodr, mppdr) > \ ... > +/* > + * Secondly is the faster case, where we have set and clear registers > + * that allow us to set or clear a bit with a single write, not having > + * to worry about preserving other bits. > + */ > +#define MCFGPF(mlabel, mbase, mngpio) > \
That's perfectly clear. Thanks Philippe -- Philippe De Muyter +32 2 6101532 Macq SA rue de l'Aeronef 2 B-1140 Bruxelles _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev