Lets start making the m68k virt machine support useful. This allows the virtio mmio driver instances to be created with platform data, fixes (for some value of fix) the endian issues in virtio mmio and then adds the code for the board to create the instances.
This is very rough. I'm not sure how to fix the endian issues or if there are even any issues and I missed something. I got my version of the m68k virt machine working back in 2024 and can't remember everything. Daniel Palmer (3): virtio: mmio: Allow instantiation via platform data virtio: mmio: endian *fixes* *HACK* board: qemu: m68k: Create virtio mmio instances arch/m68k/Kconfig | 14 +-- board/emulation/qemu-m68k/qemu-m68k.c | 46 +++++++++ drivers/virtio/virtio_mmio.c | 141 ++++++++++++++++---------- include/virtio_mmio.h | 12 +++ 4 files changed, 152 insertions(+), 61 deletions(-) create mode 100644 include/virtio_mmio.h -- 2.51.0

