From 0c37168bc1e5bdf4238dafde3abdcd4839580426 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 29 Jan 2018 09:41:44 +0100 Subject: 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 --- include/bootm.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/bootm.h') 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; -- cgit v1.2.3