On 22 April 2017 at 19:46, Krzysztof Kozlowski <k...@kernel.org> wrote: > On Thu, Apr 20, 2017 at 02:51:00PM +0100, Peter Maydell wrote: >> Incidentally someday maybe we should convert this Exynos4210 code >> to a proper QOM SoC container object, but that would be a lot of >> work. > > Any existing platforms which I could take as an good example? Maybe I'll > have some time to do it.
The Xilinx ones, or stm32f205_soc, maybe. Basically the idea is that instead of having a random function which is doing a lot of instantiation of SoC devices, you have a QoM device which encapsulates all this, and the board level code just creates and configures that device. thanks -- PMM