diff mbox series

[U-Boot] mx6sxsabresd: imximage.cfg: Handle the CONFIG_SECURE_BOOT case

Message ID 20190613211115.15378-1-breno.lima@nxp.com
State Accepted
Commit 821d8d32cb935119b8bb3dcd5a8369c0120d24bd
Delegated to: Stefano Babic
Headers show
Series [U-Boot] mx6sxsabresd: imximage.cfg: Handle the CONFIG_SECURE_BOOT case | expand

Commit Message

Breno Matheus Lima June 13, 2019, 9:10 p.m. UTC
Secure boot is not enabled in mx6sxsabresd imximage.cfg, add support
for it.

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

Comments

Peng Fan June 14, 2019, 1:19 a.m. UTC | #1
> Subject: [PATCH] mx6sxsabresd: imximage.cfg: Handle the
> CONFIG_SECURE_BOOT case
> 
> Secure boot is not enabled in mx6sxsabresd imximage.cfg, add support for it.
> 
> Signed-off-by: Breno Lima <breno.lima@nxp.com>
> ---
>  board/freescale/mx6sxsabresd/imximage.cfg | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/board/freescale/mx6sxsabresd/imximage.cfg
> b/board/freescale/mx6sxsabresd/imximage.cfg
> index 3e94f6ab66..0354bb36e2 100644
> --- a/board/freescale/mx6sxsabresd/imximage.cfg
> +++ b/board/freescale/mx6sxsabresd/imximage.cfg
> @@ -17,6 +17,13 @@ IMAGE_VERSION 2
> 
>  BOOT_FROM	sd
> 
> +/*
> + * Secure boot support
> + */
> +#ifdef CONFIG_SECURE_BOOT
> +CSF CONFIG_CSF_SIZE
> +#endif
> +
>  /*
>   * Device Configuration Data (DCD)

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

>   *
> --
> 2.17.1
Fabio Estevam June 14, 2019, 1:29 a.m. UTC | #2
On Thu, Jun 13, 2019 at 6:10 PM Breno Matheus Lima <breno.lima@nxp.com> wrote:
>
> Secure boot is not enabled in mx6sxsabresd imximage.cfg, add support
> for it.
>
> Signed-off-by: Breno Lima <breno.lima@nxp.com>

Reviewed-by: Fabio Estevam <festevam@gmail.com>
diff mbox series

Patch

diff --git a/board/freescale/mx6sxsabresd/imximage.cfg b/board/freescale/mx6sxsabresd/imximage.cfg
index 3e94f6ab66..0354bb36e2 100644
--- a/board/freescale/mx6sxsabresd/imximage.cfg
+++ b/board/freescale/mx6sxsabresd/imximage.cfg
@@ -17,6 +17,13 @@  IMAGE_VERSION 2
 
 BOOT_FROM	sd
 
+/*
+ * Secure boot support
+ */
+#ifdef CONFIG_SECURE_BOOT
+CSF CONFIG_CSF_SIZE
+#endif
+
 /*
  * Device Configuration Data (DCD)
  *