summaryrefslogtreecommitdiffstats
path: root/tools/imagetool.h
diff options
context:
space:
mode:
authorTeddy Reed <teddy.reed@gmail.com>2016-06-09 19:38:02 -0700
committerTom Rini <trini@konsulko.com>2016-06-24 17:23:06 -0400
commitf8f9107d97b849afe69ca86e7abd8d1748ea7acd (patch)
treeb210c79fc53f0459b0af6cecb90d7c1cdc1f3016 /tools/imagetool.h
parent92dfd9221c97265ff303bf9437481b9767bd72ea (diff)
downloadtalos-obmc-uboot-f8f9107d97b849afe69ca86e7abd8d1748ea7acd.tar.gz
talos-obmc-uboot-f8f9107d97b849afe69ca86e7abd8d1748ea7acd.zip
mkimage: fit: spl: Add an optional static offset for external data
When building a FIT with external data (-E), U-Boot proper may require absolute positioning for executing the external firmware. To acheive this use the (-p) switch, which will replace the amended 'data-offset' with 'data-position' indicating the absolute position of external data. It is considered an error if the requested absolute position overlaps with the initial data required for the compact FIT. Signed-off-by: Teddy Reed <teddy.reed@gmail.com>
Diffstat (limited to 'tools/imagetool.h')
-rw-r--r--tools/imagetool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/imagetool.h b/tools/imagetool.h
index a3ed0f43d6..1f2161cf61 100644
--- a/tools/imagetool.h
+++ b/tools/imagetool.h
@@ -74,6 +74,7 @@ struct image_tool_params {
struct content_info *content_tail;
bool external_data; /* Store data outside the FIT */
bool quiet; /* Don't output text in normal operation */
+ unsigned int external_offset; /* Add padding to external data */
};
/*
OpenPOWER on IntegriCloud