Re: [RFC PATCH] cammand/gpio: switch to getopt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10:02 Fri 10 Jun     , Sascha Hauer wrote:
> On Fri, Jun 10, 2011 at 09:05:07AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > On 09:04 Fri 10 Jun     , Sascha Hauer wrote:
> > > On Thu, Jun 09, 2011 at 08:03:04PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > > > this will simplify the implementation and save 296 bytes
> > > 
> > > This is both true. Still I like the old syntax of the commands very
> > > much. Actually the commands have the same name as in the kernel and
> > > it feels just good to type.
> > maybe we can drop the command
> > and add a devfs entry
> 
> How? With the gpio commands you have to specify two parameters at once.
> I can't see how to archieve this with device parameters.
> 
via params

param mode will specify inpout or out
then read or write will set or get the value

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux