public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] mx7_common: Fix SPL compilation with secure boot support enabled
@ 2018-02-28  7:51 Eran Matityahu
  2018-03-29 15:57 ` Stefano Babic
  0 siblings, 1 reply; 2+ messages in thread
From: Eran Matityahu @ 2018-02-28  7:51 UTC (permalink / raw)
  To: u-boot

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@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
-- 
1.9.1

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

* [U-Boot] [PATCH 1/2] mx7_common: Fix SPL compilation with secure boot support enabled
  2018-02-28  7:51 [U-Boot] [PATCH 1/2] mx7_common: Fix SPL compilation with secure boot support enabled Eran Matityahu
@ 2018-03-29 15:57 ` Stefano Babic
  0 siblings, 0 replies; 2+ messages in thread
From: Stefano Babic @ 2018-03-29 15:57 UTC (permalink / raw)
  To: u-boot

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

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

end of thread, other threads:[~2018-03-29 15:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-28  7:51 [U-Boot] [PATCH 1/2] mx7_common: Fix SPL compilation with secure boot support enabled Eran Matityahu
2018-03-29 15:57 ` Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox