aspeed: Change the "scu" property definition
commit2ec11f2320f6146321574c73b9cd6196f861eb10
authorCédric Le Goater <clg@kaod.org>
Tue, 19 Nov 2019 14:12:10 +0000 (19 15:12 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 16 Dec 2019 10:46:34 +0000 (16 10:46 +0000)
treecea6993203cac0102a861e34ae6bc6895ad870a1
parent15cea92d9e8afd4472147e54efe2eef0b7754dcd
aspeed: Change the "scu" property definition

The Aspeed Watchdog and Timer models have a link pointing to the SCU
controller model of the machine.

Change the "scu" property definition so that it explicitly sets the
pointer. The property isn't optional : not being able to set the link
is a bug and QEMU should rather abort than exit in this case.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-id: 20191119141211.25716-17-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/aspeed_ast2600.c
hw/arm/aspeed_soc.c
hw/timer/aspeed_timer.c
hw/watchdog/wdt_aspeed.c