Skip to contentSkip to conversation

warp: imximage.cfg: Handle the CONFIG_SECURE_BOOT case

PATCH New Breno Lima 3 participants 3 messages Nov 27, 2017 – Dec 17, 2017 Arm i.MX and Layerscape

lore
Share & tools
lore

Breno Lima

author
#0 lore raw

PATCH 2/5 warp: imximage.cfg: Handle the CONFIG_SECURE_BOOT case

From: Breno Lima <[email protected]>

Secure boot is not enabled in warp imximage.cfg, add support for it.

---
 board/warp/imximage.cfg | 9 +++++++++
 1 file changed, 9 insertions(+)
board/warp/imximage.cfg +9 -0
index 771dbb3..8420968 100644
@@ -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:
Signature · 1 line
2.7.4
#2 lore raw

PATCH 2/5 warp: imximage.cfg: Handle the CONFIG_SECURE_BOOT case

In reply to Breno Lima
Quoted 27 lines · Breno Lima

From: Breno Lima <[email protected]>

Secure boot is not enabled in warp imximage.cfg, add support for it.

---
 board/warp/imximage.cfg | 9 +++++++++
 1 file changed, 9 insertions(+)
board/warp/imximage.cfg +2 -0
index 771dbb3..8420968 100644
@@ -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
 
 /*

board/warp/imximage.cfg IMAGE_VERSION 2 · line 35

Quoted 10 lines
board/warp/imximage.cfg +7 -0
+ * Secure boot support
+ */
+#ifdef CONFIG_SECURE_BOOT
+CSF CONFIG_CSF_SIZE
+#endif
+
+/*
  * Device Configuration Data (DCD)
  *
  * Each entry must have the format:

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================