On Tue, Sep 9, 2014 at 9:04 PM, Paolo Bonzini <pbonz...@redhat.com> wrote: > Il 09/09/2014 09:54, Eric Auger ha scritto: >> This module will be used by ARM machine files to generate >> device tree nodes of dynamically instantiated sysbus devices (ie. >> those instantiated with -device option). >> >> Signed-off-by: Alexander Graf <ag...@suse.de> >> Signed-off-by: Eric Auger <eric.au...@linaro.org> >> >> --- >> >> v2 -> v3: >> - add arm_ prefix >> - arm_sysbus_device_create_devtree becomes static >> >> v1 -> v2: >> - Code moved in an arch specific file to accomodate architecture >> dependent specificities. >> - remove platform_bus_base from PlatformDevtreeData >> >> v1: code originally written by Alex Graf in e500.c and reused for ARM >> [Eric Auger] >> code originally moved in hw/misc/platform_devices and device itself >> --- >> hw/arm/Makefile.objs | 1 + >> hw/arm/dyn_sysbus_devtree.c | 66 >> +++++++++++++++++++++++++++++++++++++ > > File names in QEMU typically use a dash instead of an underscore. Also, > I see the "fdt" moniker used more often than "devtree" (ouch, I checked > now and it's 7 vs. 851 uses :)). So what about hw/arm/sysbus-fdt.c? >
Yes, "devtree" is legacy. Please use fdt or dtb as appropriate. Regards, Peter