diff options
author | Julien Grall <julien.grall@linaro.org> | 2013-04-26 15:57:22 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-05-13 11:59:57 +0100 |
commit | fb97eb614acfbcc812098bbbe5dde99271fe0a0d (patch) | |
tree | 4bcc2278c81c5ac557623e4875f90844b9467f9d /xen/arch/arm/setup.c | |
parent | 11eedee7ccbc8c49b4035d342ffd3524ba0684a5 (diff) | |
download | xen-fb97eb614acfbcc812098bbbe5dde99271fe0a0d.tar.gz xen-fb97eb614acfbcc812098bbbe5dde99271fe0a0d.tar.bz2 xen-fb97eb614acfbcc812098bbbe5dde99271fe0a0d.zip |
xen/arm: Create a hierarchical device tree
Add function to parse the device tree and create a hierarchical tree.
This code is based on drivers/of/base.c in linux source.
Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/arch/arm/setup.c')
-rw-r--r-- | xen/arch/arm/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index a667db4b4c..81bc956013 100644 --- a/xen/arch/arm/setup.c +++ b/xen/arch/arm/setup.c @@ -430,6 +430,7 @@ void __init start_xen(unsigned long boot_phys_offset, setup_mm(fdt_paddr, fdt_size); vm_init(); + dt_unflatten_host_device_tree(); #ifdef EARLY_UART_ADDRESS /* TODO Need to get device tree or command line for UART address */ |