Re: [Qemu-devel] [PATCH v4 4/8] STM32F2xx: Add the SPI device

2016-07-25 Thread Alistair Francis
On Mon, Jul 25, 2016 at 9:42 AM, Peter Maydell wrote: > On 23 July 2016 at 17:42, Alistair Francis wrote: >> Add the STM32F2xx SPI device. >> >> Signed-off-by: Alistair Francis >> --- > >> +static uint64_t stm32f2xx_spi_read(void *opaque, hwaddr addr, >> + uns

Re: [Qemu-devel] [PATCH v4 4/8] STM32F2xx: Add the SPI device

2016-07-25 Thread Peter Maydell
On 23 July 2016 at 17:42, Alistair Francis wrote: > Add the STM32F2xx SPI device. > > Signed-off-by: Alistair Francis > --- > +static uint64_t stm32f2xx_spi_read(void *opaque, hwaddr addr, > + unsigned int size) > +{ > +STM32F2XXSPIState *s = opaque; > +

[Qemu-devel] [PATCH v4 4/8] STM32F2xx: Add the SPI device

2016-07-23 Thread Alistair Francis
Add the STM32F2xx SPI device. Signed-off-by: Alistair Francis --- V4: - Add VMState - Small fixes V2: - Address Peter C's comments default-configs/arm-softmmu.mak | 1 + hw/ssi/Makefile.objs| 1 + hw/ssi/stm32f2xx_spi.c | 227