summaryrefslogtreecommitdiffstats
path: root/include/boot.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-01-09 13:13:38 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-01-14 12:36:06 +0100
commita1aca01d6263a534f152fe3354a1666e110b3a84 (patch)
tree2ee4483781b1bc2154485ccace8adf21b1b57a99 /include/boot.h
parent76ccd96f4a92c028ea531a098b58356208b0815b (diff)
downloadbarebox-a1aca01d6263a534f152fe3354a1666e110b3a84.tar.gz
barebox-a1aca01d6263a534f152fe3354a1666e110b3a84.tar.xz
bootm: introduce bootm_load_devicetree helper
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/boot.h')
-rw-r--r--include/boot.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/boot.h b/include/boot.h
index 0cb2949415..bdd5477d35 100644
--- a/include/boot.h
+++ b/include/boot.h
@@ -61,6 +61,7 @@ struct image_data {
struct device_node *of_root_node;
struct fdt_header *oftree;
+ struct resource *oftree_res;
int verify;
int verbose;
@@ -110,6 +111,7 @@ static inline int linux_bootargs_overwrite(const char *bootargs)
int bootm_load_os(struct image_data *data, unsigned long load_address);
int bootm_load_initrd(struct image_data *data, unsigned long load_address);
+int bootm_load_devicetree(struct image_data *data, unsigned long load_address);
#define UIMAGE_SOME_ADDRESS (UIMAGE_INVALID_ADDRESS - 1)