OSDN Git Service

hw/arm/fsl-imx: Add the cpu as child of the SoC object
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 23 Aug 2019 14:32:47 +0000 (16:32 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 3 Sep 2019 15:20:34 +0000 (16:20 +0100)
commiteaa9a87828c318e60428ef1531a1cc46626c23fe
treeb2f8088f0f82c0ef5258e0d4f205f984715490b0
parent5e039af81667c95a6bd5629e1c7f4422a8857ea1
hw/arm/fsl-imx: Add the cpu as child of the SoC object

Child properties form the composition tree. All objects need to be
a child of another object. Objects can only be a child of one object.

Respect this with the i.MX SoC, to get a cleaner composition tree.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190823143249.8096-5-philmd@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/fsl-imx25.c
hw/arm/fsl-imx31.c