hw/m68k/mcf5208: Support loading of bios images
authorThomas Huth <huth@tuxfamily.org>
Fri, 8 Feb 2019 18:33:07 +0000 (19:33 +0100)
committerThomas Huth <thuth@redhat.com>
Thu, 28 Feb 2019 11:18:18 +0000 (12:18 +0100)
commit9f04e1d9547224a935778c1935c605d607299070
tree458791cd029652b89390e6b41a0978a63d374149
parenta9d2e3f11c69d076e0703619809342e036eefb4b
hw/m68k/mcf5208: Support loading of bios images

The MCF5208EVB supports 2 MiB of flash at address 0. Add support
for this memory region and some code to load the file that can
be specified with the "-bios" command line option.
This can be used for example to load U-Boot images for the
MCF5208EVB (we still lack some features in the CPU emulation for
this firmware, though, so it can not be run successfully yet).

Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Thomas Huth <huth@tuxfamily.org>
hw/m68k/mcf5208.c