On Wed, 7 Jan 2026 at 13:19, Kuan-Wei Chiu <[email protected]> wrote:
>
> Add support for the QEMU 'virt' machine on the m68k architecture. This
> board emulates a generic machine based on the Motorola 68040 CPU
> equipped with Goldfish virtual peripherals.
>
> Introduce the necessary board configuration and initialization
> infrastructure. The implementation includes logic to parse the QEMU
> bootinfo interface, enabling dynamic detection of system RAM size to
> adapt to the virtual machine's configuration.
>
> Enable the Goldfish TTY driver for serial console output. Additionally,
> enable Goldfish RTC and timer drivers to support real-time clock
> functionality and nanosecond-resolution delays. Include comprehensive
> documentation covering build instructions and usage examples.
>
> Signed-off-by: Kuan-Wei Chiu <[email protected]>
> Tested-by: Daniel Palmer <[email protected]>
> ---
> Changes in v6:
> - Move bootinfo parsing logic to a helper function called in
>   board_early_init_f.
> - Remove hardcoded MMIO address macros; use values parsed from
>   bootinfo.
> - Use the new sysreset driver via U_BOOT_DRVINFO.
> - Use SZ_16M macro for default RAM size.
> - Update header include order to match coding style.
> - Fix blank line formatting in checkboard().
>
>  arch/m68k/Kconfig                     |   9 ++
>  board/emulation/qemu-m68k/Kconfig     |  12 +++
>  board/emulation/qemu-m68k/MAINTAINERS |   8 ++
>  board/emulation/qemu-m68k/Makefile    |   5 ++
>  board/emulation/qemu-m68k/qemu-m68k.c | 117 ++++++++++++++++++++++++++
>  configs/qemu-m68k_defconfig           |  20 +++++
>  doc/board/emulation/index.rst         |   1 +
>  doc/board/emulation/qemu-m68k.rst     |  39 +++++++++
>  include/configs/qemu-m68k.h           |  18 ++++
>  9 files changed, 229 insertions(+)
>  create mode 100644 board/emulation/qemu-m68k/Kconfig
>  create mode 100644 board/emulation/qemu-m68k/MAINTAINERS
>  create mode 100644 board/emulation/qemu-m68k/Makefile
>  create mode 100644 board/emulation/qemu-m68k/qemu-m68k.c
>  create mode 100644 configs/qemu-m68k_defconfig
>  create mode 100644 doc/board/emulation/qemu-m68k.rst
>  create mode 100644 include/configs/qemu-m68k.h
>

Reviewed-by: Simon Glass <[email protected]>

Reply via email to