Sharing these two patches to justify the refactor of previous series [1]. It shows how easily we can add the raspi0 machine.
[1] https://lists.gnu.org/archive/html/qemu-devel/2020-02/msg00226.html "hw/arm/raspi: Dynamically create machines based on the board" Based-on: <20200203082619.7426-1-f4...@amsat.org> Philippe Mathieu-Daudé (2): RFC hw/arm: Add the BCM2835 SoC RFC: hw/arm/raspi: Add the Raspberry Pi Zero machine include/hw/arm/bcm2836.h | 1 + hw/arm/bcm2836.c | 35 +++++++++++++++++++++++++++++++---- hw/arm/raspi.c | 7 +++++++ 3 files changed, 39 insertions(+), 4 deletions(-) -- 2.21.1