summaryrefslogtreecommitdiffstats
path: root/include/bootm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bootm.h')
-rw-r--r--include/bootm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/bootm.h b/include/bootm.h
index 35c18dc276..62951d6058 100644
--- a/include/bootm.h
+++ b/include/bootm.h
@@ -81,6 +81,13 @@ struct image_data {
struct fdt_header *oftree;
struct resource *oftree_res;
+ /*
+ * The first PAGE_SIZE bytes of the OS image. Can be used by the image
+ * handlers to analyze the OS image before actually loading the bulk of
+ * it.
+ */
+ void *os_header;
+
enum bootm_verify verify;
int verbose;
int force;