[U-Boot] [PATCH 1/2] mx7_common: Fix SPL compilation with secure boot support enabled

Stefano Babic sbabic at denx.de
Thu Mar 29 15:57:20 UTC 2018


On 28/02/2018 08:51, Eran Matityahu wrote:
> The SPL MISC driver support must be enabled, so that the driver can use OTP fuse
> to check if HAB is enabled.
> 
> Signed-off-by: Eran Matityahu <eran.m at variscite.com>
> ---
>  include/configs/mx7_common.h | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
> index defb38c..6ebf2e1 100644
> --- a/include/configs/mx7_common.h
> +++ b/include/configs/mx7_common.h
> @@ -59,6 +59,9 @@
>  /* Secure boot (HAB) support */
>  #ifdef CONFIG_SECURE_BOOT
>  #define CONFIG_CSF_SIZE			0x2000
> +#ifdef CONFIG_SPL_BUILD
> +#define CONFIG_SPL_DRIVERS_MISC_SUPPORT
> +#endif
>  #endif
>  
>  #endif
> 
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
=====================================================================


More information about the U-Boot mailing list