]> git.ipfire.org Git - u-boot.git/commitdiff
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 771dbb36147b8c11c495a74736692959f6bb1421..84209681d94b063eb576eb60516b33f2c1e19a71 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)
  *