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

It cleanups the current models for the Aspeed AST2400 and AST2500 SoCs
and prepares ground for future SoCs.

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