warp: imximage.cfg: Handle the CONFIG_SECURE_BOOT case
authorBreno Lima <breno.lima@nxp.com>
Mon, 27 Nov 2017 23:04:11 +0000 (21:04 -0200)
committerStefano Babic <sbabic@denx.de>
Fri, 29 Dec 2017 10:18:59 +0000 (11:18 +0100)
Secure boot is not enabled in warp imximage.cfg, add support for it.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
board/warp/imximage.cfg

index 771dbb3..8420968 100644 (file)
@@ -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: