All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 2/5] warp: imximage.cfg: Handle the CONFIG_SECURE_BOOT case
@ 2017-11-27 23:04 Breno Lima
  2017-11-28  0:02 ` Fabio Estevam
  2017-12-17 10:32 ` Stefano Babic
  0 siblings, 2 replies; 3+ messages in thread
From: Breno Lima @ 2017-11-27 23:04 UTC (permalink / raw)
  To: u-boot

From: Breno Lima <breno.lima@nxp.com>

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

Signed-off-by: Breno Lima <breno.lima@nxp.com>
---
 board/warp/imximage.cfg | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/board/warp/imximage.cfg b/board/warp/imximage.cfg
index 771dbb3..8420968 100644
--- a/board/warp/imximage.cfg
+++ b/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 */
 
@@ -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:
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH 2/5] warp: imximage.cfg: Handle the CONFIG_SECURE_BOOT case
  2017-11-27 23:04 [U-Boot] [PATCH 2/5] warp: imximage.cfg: Handle the CONFIG_SECURE_BOOT case Breno Lima
@ 2017-11-28  0:02 ` Fabio Estevam
  2017-12-17 10:32 ` Stefano Babic
  1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2017-11-28  0:02 UTC (permalink / raw)
  To: u-boot

On Mon, Nov 27, 2017 at 9:04 PM, Breno Lima <brenomatheus@gmail.com> wrote:
> From: Breno Lima <breno.lima@nxp.com>
>
> 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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH 2/5] warp: imximage.cfg: Handle the CONFIG_SECURE_BOOT case
  2017-11-27 23:04 [U-Boot] [PATCH 2/5] warp: imximage.cfg: Handle the CONFIG_SECURE_BOOT case Breno Lima
  2017-11-28  0:02 ` Fabio Estevam
@ 2017-12-17 10:32 ` Stefano Babic
  1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2017-12-17 10:32 UTC (permalink / raw)
  To: u-boot



On 28/11/2017 00:04, Breno Lima wrote:
> From: Breno Lima <breno.lima@nxp.com>
> 
> Secure boot is not enabled in warp imximage.cfg, add support for it.
> 
> Signed-off-by: Breno Lima <breno.lima@nxp.com>
> ---
>  board/warp/imximage.cfg | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/board/warp/imximage.cfg b/board/warp/imximage.cfg
> index 771dbb3..8420968 100644
> --- a/board/warp/imximage.cfg
> +++ b/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 */
>  
> @@ -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:
> 

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
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
=====================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-12-17 10:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-27 23:04 [U-Boot] [PATCH 2/5] warp: imximage.cfg: Handle the CONFIG_SECURE_BOOT case Breno Lima
2017-11-28  0:02 ` Fabio Estevam
2017-12-17 10:32 ` Stefano Babic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.