diff mbox series

[U-Boot,1/5] mx6slevk: imximage.cfg: Handle the CONFIG_SECURE_BOOT case

Message ID 1511823763-21123-1-git-send-email-brenomatheus@gmail.com
State Accepted
Commit 4e14865537b7c286c4d3bde226683b692e5cac75
Delegated to: Stefano Babic
Headers show
Series [U-Boot,1/5] mx6slevk: imximage.cfg: Handle the CONFIG_SECURE_BOOT case | expand

Commit Message

Breno Matheus Lima Nov. 27, 2017, 11:02 p.m. UTC
From: Breno Lima <breno.lima@nxp.com>

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

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

Comments

Fabio Estevam Nov. 28, 2017, 12:01 a.m. UTC | #1
On Mon, Nov 27, 2017 at 9:02 PM, Breno Lima <brenomatheus@gmail.com> wrote:
> From: Breno Lima <breno.lima@nxp.com>
>
> Secure boot is not enabled in mx6slevk imximage.cfg, add support for it.
>
> Signed-off-by: Breno Lima <breno.lima@nxp.com>

Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Peng Fan Nov. 28, 2017, 1:34 a.m. UTC | #2
> -----Original Message-----
> From: Breno Lima [mailto:brenomatheus@gmail.com]
> Sent: Tuesday, November 28, 2017 7:03 AM
> To: Fabio Estevam <fabio.estevam@nxp.com>; sbabic@denx.de
> Cc: Peng Fan <peng.fan@nxp.com>; u-boot@lists.denx.de; Breno Matheus
> Lima <breno.lima@nxp.com>
> Subject: [PATCH 1/5] mx6slevk: imximage.cfg: Handle the
> CONFIG_SECURE_BOOT case
> 
> From: Breno Lima <breno.lima@nxp.com>
> 
> Secure boot is not enabled in mx6slevk imximage.cfg, add support for it.
> 
> Signed-off-by: Breno Lima <breno.lima@nxp.com>
> ---
>  board/freescale/mx6slevk/imximage.cfg | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/board/freescale/mx6slevk/imximage.cfg
> b/board/freescale/mx6slevk/imximage.cfg
> index 024de9c..9722eb5 100644
> --- a/board/freescale/mx6slevk/imximage.cfg
> +++ b/board/freescale/mx6slevk/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
> +
> +/*

Acked-by: Peng Fan <peng.fan@nxp.com>


>   * Device Configuration Data (DCD)
>   *
>   * Each entry must have the format:
> --
> 2.7.4
Breno Matheus Lima Dec. 4, 2017, 8:30 p.m. UTC | #3
Hi Stefano,

Just a gentle ping on this series.

Thanks,
Breno Lima

2017-11-27 23:34 GMT-02:00 Peng Fan <peng.fan@nxp.com>:
>
>
>> -----Original Message-----
>> From: Breno Lima [mailto:brenomatheus@gmail.com]
>> Sent: Tuesday, November 28, 2017 7:03 AM
>> To: Fabio Estevam <fabio.estevam@nxp.com>; sbabic@denx.de
>> Cc: Peng Fan <peng.fan@nxp.com>; u-boot@lists.denx.de; Breno Matheus
>> Lima <breno.lima@nxp.com>
>> Subject: [PATCH 1/5] mx6slevk: imximage.cfg: Handle the
>> CONFIG_SECURE_BOOT case
>>
>> From: Breno Lima <breno.lima@nxp.com>
>>
>> Secure boot is not enabled in mx6slevk imximage.cfg, add support for it.
>>
>> Signed-off-by: Breno Lima <breno.lima@nxp.com>
>> ---
>>  board/freescale/mx6slevk/imximage.cfg | 9 +++++++++
>>  1 file changed, 9 insertions(+)
>>
>> diff --git a/board/freescale/mx6slevk/imximage.cfg
>> b/board/freescale/mx6slevk/imximage.cfg
>> index 024de9c..9722eb5 100644
>> --- a/board/freescale/mx6slevk/imximage.cfg
>> +++ b/board/freescale/mx6slevk/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
>> +
>> +/*
>
> Acked-by: Peng Fan <peng.fan@nxp.com>
>
>
>>   * Device Configuration Data (DCD)
>>   *
>>   * Each entry must have the format:
>> --
>> 2.7.4
>
Stefano Babic Dec. 17, 2017, 10:32 a.m. UTC | #4
On 28/11/2017 00:02, Breno Lima wrote:
> From: Breno Lima <breno.lima@nxp.com>
> 
> Secure boot is not enabled in mx6slevk imximage.cfg, add support for it.
> 
> Signed-off-by: Breno Lima <breno.lima@nxp.com>
> ---
>  board/freescale/mx6slevk/imximage.cfg | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/board/freescale/mx6slevk/imximage.cfg b/board/freescale/mx6slevk/imximage.cfg
> index 024de9c..9722eb5 100644
> --- a/board/freescale/mx6slevk/imximage.cfg
> +++ b/board/freescale/mx6slevk/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
diff mbox series

Patch

diff --git a/board/freescale/mx6slevk/imximage.cfg b/board/freescale/mx6slevk/imximage.cfg
index 024de9c..9722eb5 100644
--- a/board/freescale/mx6slevk/imximage.cfg
+++ b/board/freescale/mx6slevk/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: