Re: [Qemu-devel] [PATCH 2/8] sam460ex: Clean up SPD EEPROM creation

2019-01-02 Thread David Gibson
On Wed, Jan 02, 2019 at 01:49:44PM +0100, BALATON Zoltan wrote: > On Wed, 2 Jan 2019, David Gibson wrote: > > On Wed, Jan 02, 2019 at 03:06:38AM +0100, BALATON Zoltan wrote: > > > +/* IIC controllers and devices */ > > > dev = sysbus_create_simple(TYPE_PPC4xx_I2C, 0x4ef600700, uic[0][2]);

Re: [Qemu-devel] [PATCH 2/8] sam460ex: Clean up SPD EEPROM creation

2019-01-02 Thread BALATON Zoltan
On Wed, 2 Jan 2019, David Gibson wrote: On Wed, Jan 02, 2019 at 03:06:38AM +0100, BALATON Zoltan wrote: +/* IIC controllers and devices */ dev = sysbus_create_simple(TYPE_PPC4xx_I2C, 0x4ef600700, uic[0][2]); -i2c[0] = PPC4xx_I2C(dev); -object_property_set_bool(OBJECT(dev), true,

Re: [Qemu-devel] [PATCH 2/8] sam460ex: Clean up SPD EEPROM creation

2019-01-01 Thread David Gibson
On Wed, Jan 02, 2019 at 03:06:38AM +0100, BALATON Zoltan wrote: > Get rid of code from MIPS Malta board used to create SPD EEPROM data > (parts of which was not even needed for sam460ex) and use the generic > spd_data_generate() function to simplify this. > > Signed-off-by: BALATON Zoltan > --- >

[Qemu-devel] [PATCH 2/8] sam460ex: Clean up SPD EEPROM creation

2019-01-01 Thread BALATON Zoltan
Get rid of code from MIPS Malta board used to create SPD EEPROM data (parts of which was not even needed for sam460ex) and use the generic spd_data_generate() function to simplify this. Signed-off-by: BALATON Zoltan --- hw/ppc/sam460ex.c | 169 ++--