diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2012-03-02 11:56:38 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-03-02 11:56:38 +0000 |
commit | 412beee6a0349ce430920e2b2faa8009ced4a672 (patch) | |
tree | a45532e27595b703ab6e8106b52a0ba4ab4cb95e /hw/arm-misc.h | |
parent | 41c1e2f54e6fc76dbc7047f1a95693f4d37b4623 (diff) |
arm: add device tree support
If compiled with CONFIG_FDT, allow user to specify a device tree file using
the -dtb argument. If the machine supports it then the dtb will be loaded
into memory and passed to the kernel on boot.
Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
[Peter Maydell: Use machine opt rather than global to pass dtb filename]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm-misc.h')
-rw-r--r-- | hw/arm-misc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/arm-misc.h b/hw/arm-misc.h index 306013aeeb..734bd82428 100644 --- a/hw/arm-misc.h +++ b/hw/arm-misc.h @@ -29,6 +29,7 @@ struct arm_boot_info { const char *kernel_filename; const char *kernel_cmdline; const char *initrd_filename; + const char *dtb_filename; target_phys_addr_t loader_start; /* multicore boards that use the default secondary core boot functions * need to put the address of the secondary boot code, the boot reg, |