Browse Source

warp: imximage.cfg: Handle the CONFIG_SECURE_BOOT case

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>
Breno Lima 7 years ago
parent
commit
55c808e340
1 changed files with 9 additions and 0 deletions
  1. 9 0
      board/warp/imximage.cfg

+ 9 - 0
board/warp/imximage.cfg

@@ -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)
  *