Re: [U-Boot] [PATCH v2 3/8] sandbox: gpio: Add basic driver for simulating GPIOs

2012-02-15 Thread Simon Glass
Hi Mike, On Tue, Jan 24, 2012 at 3:06 PM, Mike Frysinger wrote: > On Tuesday 24 January 2012 16:35:00 Mike Frysinger wrote: >> On Monday 23 January 2012 01:20:16 Simon Glass wrote: >> > On Fri, Jan 20, 2012 at 10:59 AM, Mike Frysinger wrote: >> > > On Tuesday 10 January 2012 19:45:47 Simon Glass

Re: [U-Boot] [PATCH v2 3/8] sandbox: gpio: Add basic driver for simulating GPIOs

2012-01-24 Thread Mike Frysinger
On Tuesday 24 January 2012 16:35:00 Mike Frysinger wrote: > On Monday 23 January 2012 01:20:16 Simon Glass wrote: > > On Fri, Jan 20, 2012 at 10:59 AM, Mike Frysinger wrote: > > > On Tuesday 10 January 2012 19:45:47 Simon Glass wrote: > > >> --- /dev/null > > >> +++ b/arch/sandbox/include/asm/gpio.

Re: [U-Boot] [PATCH v2 3/8] sandbox: gpio: Add basic driver for simulating GPIOs

2012-01-24 Thread Mike Frysinger
On Monday 23 January 2012 01:20:16 Simon Glass wrote: > On Fri, Jan 20, 2012 at 10:59 AM, Mike Frysinger wrote: > > On Tuesday 10 January 2012 19:45:47 Simon Glass wrote: > >> --- /dev/null > >> +++ b/arch/sandbox/include/asm/gpio.h > >> > >> +int sandbox_gpio_get_value(int gp); > > > > why bothe

Re: [U-Boot] [PATCH v2 3/8] sandbox: gpio: Add basic driver for simulating GPIOs

2012-01-22 Thread Simon Glass
Hi Mike, On Fri, Jan 20, 2012 at 10:59 AM, Mike Frysinger wrote: > On Tuesday 10 January 2012 19:45:47 Simon Glass wrote: >> This provides a way of simulating GPIOs by setting values which are seen >> by the normal gpio_get/set_value() calls. > > seems to be a desync in types ... all "gpio" field

Re: [U-Boot] [PATCH v2 3/8] sandbox: gpio: Add basic driver for simulating GPIOs

2012-01-20 Thread Mike Frysinger
On Tuesday 10 January 2012 19:45:47 Simon Glass wrote: > This provides a way of simulating GPIOs by setting values which are seen > by the normal gpio_get/set_value() calls. seems to be a desync in types ... all "gpio" fields should be "unsigned" and not "int" > --- /dev/null > +++ b/arch/sandbo

[U-Boot] [PATCH v2 3/8] sandbox: gpio: Add basic driver for simulating GPIOs

2012-01-10 Thread Simon Glass
This provides a way of simulating GPIOs by setting values which are seen by the normal gpio_get/set_value() calls. Signed-off-by: Simon Glass --- Changes in v2: - Use generic GPIO command and interface - Fix gpio_direction_output() to actually set the value arch/sandbox/include/asm/gpio.h | 6