Hi, These patches simplify adding the raspi0/raspi1/raspi4 boards.
I still need some time to figure out what is the best way to organize the SoC code because since these socs use different ARM cores, the interrupt controller are different too. Igor has been working in his "refactor main RAM allocation to use hostmem backend" series, and now v4 [1] is almost reviewed. His raspi patch [2] clashes with my work, Since it is easier for him to apply his on top of mine, I am sending these patches first. Please review, Phil. [1] https://www.mail-archive.com/qemu-devel@nongnu.org/msg675738.html [2] https://www.mail-archive.com/qemu-devel@nongnu.org/msg675752.html Philippe Mathieu-Daudé (6): hw/arm/raspi: Use BCM2708 machine type with pre Device Tree kernels hw/arm/raspi: Get board version from board revision code hw/arm/raspi: Get the SoC type name from the revision code hw/arm/raspi: Get board RAM size from board revision code hw/arm/raspi: Dynamically create machines based on the board revision hw/arm/raspi: Get the CPU core count from the revision code hw/arm/raspi.c | 178 +++++++++++++++++++++++++++++++++++++------------ 1 file changed, 135 insertions(+), 43 deletions(-) -- 2.21.1