Modify arm fdt handling so boards can provide a blob rather than requiring one on command line.
Allow dumping of fdt blob as ppc e500 already does. Next add mach-virt platform that creates fdt blob from scratch describing its minimal hw which is a pl011 uart and a sp804 timer. Tested on amd64 host with full system emulation and also using kvm on an arndale board v2 changes: - remove bogus cruft from mach-virt.c that was leftover from checkpatch fixing v3 changes: - split first patch into two - rename from mach-virt to virt - collect scattered constants into a machine info structure - put qemu device creation and fdt nod creation near one another to make it easier to keep them in sync - use CONFIG_KVM and kvm_enabled() to differentiate between tcg and kvm dependent code - move memory to 0x0 and io up to 0xfff00000 John Rigby (3): ARM: Allow boards to provide an fdt blob ARM: Allow dumping of device tree ARM: Add mach-virt platform hw/arm/Makefile.objs | 2 +- hw/arm/boot.c | 31 ++-- hw/arm/virt.c | 434 +++++++++++++++++++++++++++++++++++++++++++++++++++ include/hw/arm/arm.h | 6 + 4 files changed, 461 insertions(+), 12 deletions(-) create mode 100644 hw/arm/virt.c -- 1.8.2.2