aspeed: Remove AspeedBoardConfig array and use AspeedMachineClass
commitbaa4732bc10b3fd7c304ec7087e87b721ad891cf
authorCédric Le Goater <clg@kaod.org>
Tue, 19 Nov 2019 14:12:07 +0000 (19 15:12 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 16 Dec 2019 10:46:34 +0000 (16 10:46 +0000)
tree1e3ec1731b84e4605e8194e49a53109eea56d670
parentf286f04c21aba0f751ede4f5c99228a09e40c90b
aspeed: Remove AspeedBoardConfig array and use AspeedMachineClass

AspeedBoardConfig is a redundant way to define class attributes and it
complexifies the machine definition and initialization.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-id: 20191119141211.25716-14-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/aspeed.c
include/hw/arm/aspeed.h