hw/arm/exynos4210: Put a9mpcore device into state struct
commit5b2417288e9bdd437685725cd432692ed8f104e4
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 4 Apr 2022 15:46:43 +0000 (4 16:46 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Apr 2022 10:37:03 +0000 (21 11:37 +0100)
tree1933f0f41cc99c175727768495729c7265b0b296
parent019eafddd085352b1e0c758ffb8ef532bedb8512
hw/arm/exynos4210: Put a9mpcore device into state struct

The exynos4210 SoC mostly creates its child devices as if it were
board code.  This includes the a9mpcore object.  Switch that to a
new-style "embedded in the state struct" creation, because in the
next commit we're going to want to refer to the object again further
down in the exynos4210_realize() function.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220404154658.565020-4-peter.maydell@linaro.org
hw/arm/exynos4210.c
include/hw/arm/exynos4210.h