diff options
| author | Eric Auger | 2016-02-19 17:42:31 +0100 |
|---|---|---|
| committer | Alex Williamson | 2016-02-19 17:42:31 +0100 |
| commit | 9481cf2e5f2f2bb679d8bbda19f917a37a11034b (patch) | |
| tree | bb1e9fb891cff9bef595f06d7e20f879d01a7ae2 /include/exec/user | |
| parent | device_tree: qemu_fdt_getprop_cell converted to use the error API (diff) | |
| download | qemu-9481cf2e5f2f2bb679d8bbda19f917a37a11034b.tar.gz qemu-9481cf2e5f2f2bb679d8bbda19f917a37a11034b.tar.xz 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 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
