Re: [Qemu-devel] [PATCH 05/14] hw/stellaris: Removed gpio_out init array.

2012-10-05 Thread Peter Crosthwaite
On Fri, Oct 5, 2012 at 10:31 PM, Peter Maydell wrote: > On 5 October 2012 01:08, Peter Crosthwaite > wrote: >> From: Peter A. G. Crosthwaite >> >> stellaris_init() defines arrays of qemu_irq to decides what each of the GPIO >> pins are connected to. This is ok for inputs (as an input can only ha

Re: [Qemu-devel] [PATCH 05/14] hw/stellaris: Removed gpio_out init array.

2012-10-05 Thread Peter Maydell
On 5 October 2012 01:08, Peter Crosthwaite wrote: > From: Peter A. G. Crosthwaite > > stellaris_init() defines arrays of qemu_irq to decides what each of the GPIO > pins are connected to. This is ok for inputs (as an input can only have one > source) but is flawed for outputs as an output can con

[Qemu-devel] [PATCH 05/14] hw/stellaris: Removed gpio_out init array.

2012-10-04 Thread Peter Crosthwaite
From: Peter A. G. Crosthwaite stellaris_init() defines arrays of qemu_irq to decides what each of the GPIO pins are connected to. This is ok for inputs (as an input can only have one source) but is flawed for outputs as an output can connect to any number of sinks. Removed the gpio_out array comp