]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
mx6slevk: imximage.cfg: Handle the CONFIG_SECURE_BOOT case
authorBreno Lima <breno.lima@nxp.com>
Mon, 27 Nov 2017 23:02:43 +0000 (21:02 -0200)
committerStefano Babic <sbabic@denx.de>
Fri, 29 Dec 2017 10:18:59 +0000 (11:18 +0100)
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>
board/freescale/mx6slevk/imximage.cfg

index 024de9cdb4941170202d0119be13e9a9698d80f7..9722eb5d7e1d8c1b7890b263896d3134e7faac4f 100644 (file)
@@ -8,6 +8,8 @@
  *
  * The syntax is taken as close as possible with the kwbimage
  */
+#define __ASSEMBLY__
+#include <config.h>
 
 /* image version */
 
@@ -20,6 +22,13 @@ IMAGE_VERSION 2
 
 BOOT_FROM      sd
 
+/*
+ * Secure boot support
+ */
+#ifdef CONFIG_SECURE_BOOT
+CSF CONFIG_CSF_SIZE
+#endif
+
 /*
  * Device Configuration Data (DCD)
  *