From 4e14865537b7c286c4d3bde226683b692e5cac75 Mon Sep 17 00:00:00 2001 From: Breno Lima Date: Mon, 27 Nov 2017 21:02:43 -0200 Subject: [PATCH] mx6slevk: imximage.cfg: Handle the CONFIG_SECURE_BOOT case Secure boot is not enabled in mx6slevk imximage.cfg, add support for it. Signed-off-by: Breno Lima Reviewed-by: Fabio Estevam Acked-by: Peng Fan --- 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 024de9cdb4..9722eb5d7e 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 /* 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) * -- 2.39.5