summary refs log tree commit diff stats
path: root/hw/usb/dev-network.c
diff options
context:
space:
mode:
authorEric Auger <eric.auger@linaro.org>2016-02-19 09:42:31 -0700
committerAlex Williamson <alex.williamson@redhat.com>2016-02-19 09:42:31 -0700
commit9481cf2e5f2f2bb679d8bbda19f917a37a11034b (patch)
treebb1e9fb891cff9bef595f06d7e20f879d01a7ae2 /hw/usb/dev-network.c
parent58e71097ced49600de1b38d2b59a823a9db66f19 (diff)
downloadfocaccia-qemu-9481cf2e5f2f2bb679d8bbda19f917a37a11034b.tar.gz
focaccia-qemu-9481cf2e5f2f2bb679d8bbda19f917a37a11034b.zip
hw/arm/sysbus-fdt: helpers for clock node generation
Some passthrough'ed devices depend on clock nodes. Those need to be
generated in the guest device tree. This patch introduces some helpers
to build a clock node from information retrieved in the host device tree.

- copy_properties_from_host copies properties from a host device tree
  node to a guest device tree node
- fdt_build_clock_node builds a guest clock node and checks the host
  fellow clock is a fixed one.

fdt_build_clock_node will become static as soon as it gets used. A
dummy pre-declaration is needed for compilation of this patch.

Signed-off-by: Eric Auger <eric.auger@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'hw/usb/dev-network.c')
0 files changed, 0 insertions, 0 deletions