ppc/ppc405: Use an explicit I2C object
commit111913fb2da19cb72e208a951b11f897f65cc8c7
authorCédric Le Goater <clg@kaod.org>
Wed, 17 Aug 2022 15:08:36 +0000 (17 17:08 +0200)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Wed, 31 Aug 2022 17:08:06 +0000 (31 14:08 -0300)
tree88548dc2b5a3a10c9e357d7545f3cb2a03ef05ef
parenta55b213646d8a62515912490d259cf84d2f9e168
ppc/ppc405: Use an explicit I2C object

Having an explicit I2C model object will help if one day we want to
add I2C devices on the bus from the machine init routine.

Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
[balaton: Symplify sysbus device casts for readibility]
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <68eb8b5ac408ca8cc981ebf53a3e154c0d34c7f6.1660746880.git.balaton@eik.bme.hu>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/ppc/ppc405.h
hw/ppc/ppc405_uc.c