stm32f205: Create armv7m object without using armv7m_init()
commitb72e2f68567c372bfcb6febb69c4dfc004166b0d
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Feb 2017 15:36:04 +0000 (20 15:36 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 28 Feb 2017 16:18:49 +0000 (28 16:18 +0000)
treef218b00dc7d7403201973fdbbfae86c83d661c53
parentff68dacbc786d76a754b2c522cf70e22887bc8a6
stm32f205: Create armv7m object without using armv7m_init()

Switch the stm32f205 SoC to create the armv7m object directly
rather than via the armv7m_init() wrapper. This fits better
with the SoC model's very QOMified design.

In particular this means we can push loading the guest image
out to the top level board code where it belongs, rather
than the SoC object having a QOM property for the filename
to load.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1487604965-23220-11-git-send-email-peter.maydell@linaro.org
hw/arm/netduino2.c
hw/arm/stm32f205_soc.c
include/hw/arm/stm32f205_soc.h