Re: [Qemu-devel] [PATCH] xilinx_zynq: Add one variable to avoid overwriting QSPI bus

2012-12-04 Thread Peter Maydell
On 28 November 2012 09:14, Liming Wang wrote: > commit 7b482bcf xilinx_zynq: added QSPI controller > > Adds one QSPI controller, which has two spi buses, one is for > spi0, and another is for spi1. But when initializing the spi1 > bus, "dev" has been overwrited by the ssi_create_slave_no_init() fu

Re: [Qemu-devel] [PATCH] xilinx_zynq: Add one variable to avoid overwriting QSPI bus

2012-11-28 Thread Peter Crosthwaite
On Wed, Nov 28, 2012 at 7:14 PM, Liming Wang wrote: > commit 7b482bcf xilinx_zynq: added QSPI controller > > Adds one QSPI controller, which has two spi buses, one is for > spi0, and another is for spi1. But when initializing the spi1 > bus, "dev" has been overwrited by the ssi_create_slave_no_ini

[Qemu-devel] [PATCH] xilinx_zynq: Add one variable to avoid overwriting QSPI bus

2012-11-28 Thread Liming Wang
commit 7b482bcf xilinx_zynq: added QSPI controller Adds one QSPI controller, which has two spi buses, one is for spi0, and another is for spi1. But when initializing the spi1 bus, "dev" has been overwrited by the ssi_create_slave_no_init() function, so that qdev_get_child_bus() returns NULL and th