summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorBreno Lima <breno.lima@nxp.com>2017-11-27 21:02:43 -0200
committerStefano Babic <sbabic@denx.de>2017-12-29 11:18:59 +0100
commit4e14865537b7c286c4d3bde226683b692e5cac75 (patch)
treef9f8872a3b8bf4396b8e497e8406e6355a382898 /board
parent6ca03f0dfb2f65c7834737f9e0befff24064e34a (diff)
mx6slevk: imximage.cfg: Handle the CONFIG_SECURE_BOOT case
Secure boot is not enabled in mx6slevk imximage.cfg, add support for it. Signed-off-by: Breno Lima <breno.lima@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Acked-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/mx6slevk/imximage.cfg9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/freescale/mx6slevk/imximage.cfg b/board/freescale/mx6slevk/imximage.cfg
index 024de9cdb49..9722eb5d7e1 100644
--- a/board/freescale/mx6slevk/imximage.cfg
+++ b/board/freescale/mx6slevk/imximage.cfg
@@ -8,6 +8,8 @@
*
* The syntax is taken as close as possible with the kwbimage
*/
+#define __ASSEMBLY__
+#include <config.h>
/* image version */
@@ -21,6 +23,13 @@ IMAGE_VERSION 2
BOOT_FROM sd
/*
+ * Secure boot support
+ */
+#ifdef CONFIG_SECURE_BOOT
+CSF CONFIG_CSF_SIZE
+#endif
+
+/*
* Device Configuration Data (DCD)
*
* Each entry must have the format: