mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [RFC PATCH] cammand/gpio: switch to getopt
Date: Fri, 10 Jun 2011 13:13:13 +0200	[thread overview]
Message-ID: <20110610111313.GB3037@game.jcrosoft.org> (raw)
In-Reply-To: <20110610080233.GW23771@pengutronix.de>

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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2011-06-11 12:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-09 18:03 Jean-Christophe PLAGNIOL-VILLARD
2011-06-10  7:04 ` Sascha Hauer
2011-06-10  7:05   ` Jean-Christophe PLAGNIOL-VILLARD
2011-06-10  8:02     ` Sascha Hauer
2011-06-10 11:13       ` Jean-Christophe PLAGNIOL-VILLARD [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110610111313.GB3037@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.com \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox