aspeed/sdmc: Introduce an object class per SoC
commit8e00d1a97d1d0b416527debb9a0759ab8c49ec51
authorCédric Le Goater <clg@kaod.org>
Wed, 25 Sep 2019 14:32:33 +0000 (25 16:32 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Oct 2019 17:09:04 +0000 (15 18:09 +0100)
tree818d77b55905ff86e24db9af1b5cd7f04c32167c
parentfadefada4d07a3a77c4171244cded0e9af81331c
aspeed/sdmc: Introduce an object class per SoC

Use class handlers and class constants to differentiate the
characteristics of the memory controller and remove the 'silicon_rev'
property.

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