diff options
author | Stefano Babic <sbabic@denx.de> | 2013-06-27 11:42:38 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2013-08-31 15:06:29 +0200 |
commit | 0187c985aa870a74caeecd3bd10244322b7e4d99 (patch) | |
tree | 5e6a7b86f84be2ba4107e1957e37a81b2500e6d9 /tools/imximage.h | |
parent | 01390aff251e541fcaa77fa6c6e3eee4d7a5554b (diff) | |
download | u-boot-imx-0187c985aa870a74caeecd3bd10244322b7e4d99.zip u-boot-imx-0187c985aa870a74caeecd3bd10244322b7e4d99.tar.gz u-boot-imx-0187c985aa870a74caeecd3bd10244322b7e4d99.tar.bz2 |
tools: add support for setting the CSF into imximage
Add support for setting the CSF (Command Sequence File) pointer
which is used for HAB (High Assurance Boot) in the imximage by
adding e.g.
CSF 0x2000
in the imximage.cfg file.
This will set the CSF pointer accordingly just after the padded
data image area. The boot_data.length is adjusted with the
value from the imximage.cfg config file.
The resulting u-boot.imx can be signed with the FSL HAB tooling.
The generated CSF block needs to be appended to the u-boot.imx.
Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'tools/imximage.h')
-rw-r--r-- | tools/imximage.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/imximage.h b/tools/imximage.h index bb04a43..efe6a88 100644 --- a/tools/imximage.h +++ b/tools/imximage.h @@ -52,7 +52,8 @@ enum imximage_cmd { CMD_IMAGE_VERSION, CMD_BOOT_FROM, CMD_BOOT_OFFSET, - CMD_DATA + CMD_DATA, + CMD_CSF, }; enum imximage_fld_types { |