summaryrefslogtreecommitdiff
path: root/board/warp7
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2018-04-24 18:46:32 +0100
committerStefano Babic <sbabic@denx.de>2018-04-26 08:52:51 +0200
commit9c260e862f8f93390f22b0cfc1a3a6b94888d549 (patch)
tree4ad31a8c7d445dd38914ba1d7ce7c302b2a0dc8d /board/warp7
parent69f0695067a1938946a3b3e492e0c9cb6e79132d (diff)
downloadu-boot-9c260e862f8f93390f22b0cfc1a3a6b94888d549.tar.gz
u-boot-9c260e862f8f93390f22b0cfc1a3a6b94888d549.tar.bz2
u-boot-9c260e862f8f93390f22b0cfc1a3a6b94888d549.zip
warp7: hab: Add a CSF location definition
In order to correctly produce an image with a IVT/DCD header we need to define a CSF in imximage.cfg. We just use the mx7 default here. All we have to do with this option switched on is "make u-boot.imx" and we then will get - u-boot.imx - u-boot.imx.log The log file is really important because it gives the addresses for the HAB that we will require to sign the u-boot image using the CST. Since the addresses can change this logfile is a critical output. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Tested-by: Breno Lima <breno.lima@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'board/warp7')
-rw-r--r--board/warp7/imximage.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/warp7/imximage.cfg b/board/warp7/imximage.cfg
index 5b42793786..51a5bff723 100644
--- a/board/warp7/imximage.cfg
+++ b/board/warp7/imximage.cfg
@@ -13,6 +13,10 @@
#include <config.h>
IMAGE_VERSION 2
+#ifdef CONFIG_SECURE_BOOT
+CSF CONFIG_CSF_SIZE
+#endif
+
BOOT_FROM sd
/*