diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-01-29 09:41:44 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-02-08 08:55:22 +0100 |
commit | 0c37168bc1e5bdf4238dafde3abdcd4839580426 (patch) | |
tree | c7807d96bf08dfb3618f21ea01b30daf1aa9f9d2 /include/bootm.h | |
parent | 83ff71fcee4daabfd74ff31e5612f74c4996ec5c (diff) | |
download | barebox-0c37168bc1e5bdf4238dafde3abdcd4839580426.tar.gz barebox-0c37168bc1e5bdf4238dafde3abdcd4839580426.tar.xz |
bootm: FIT: do not depend on FIT pre-opened images
When calling fit_open_configuration the FIT code already opens
the images "kernel", "ramdisk" and "dtb". This does not fit well
into the FIT code, so make the bootm code independent of these
pre-opened images so that we can drop the opening from the FIT
code in the next step.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/bootm.h')
-rw-r--r-- | include/bootm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/bootm.h b/include/bootm.h index 6e9777a9ac..7ba7b8b96f 100644 --- a/include/bootm.h +++ b/include/bootm.h @@ -73,6 +73,9 @@ struct image_data { char *oftree_file; char *oftree_part; + const void *fit_kernel; + unsigned long fit_kernel_size; + struct device_node *of_root_node; struct fdt_header *oftree; struct resource *oftree_res; |