Re: [PATCH 4/5] aspeed: Remove AspeedBoardConfig array and use AspeedMachineClass

2019-11-17 Thread Joel Stanley
On Thu, 14 Nov 2019 at 09:46, Cédric Le Goater wrote: > > AspeedBoardConfig is a redundant way to define class attributes and it > complexifies the machine definition and initialization. > > Signed-off-by: Cédric Le Goater Reviewed-by: Joel Stanley A good cleanup. > --- > include/hw/arm/aspe

[PATCH 4/5] aspeed: Remove AspeedBoardConfig array and use AspeedMachineClass

2019-11-14 Thread Cédric Le Goater
AspeedBoardConfig is a redundant way to define class attributes and it complexifies the machine definition and initialization. Signed-off-by: Cédric Le Goater --- include/hw/arm/aspeed.h | 24 ++--- hw/arm/aspeed.c | 231 ++-- 2 files changed, 137 ins