diff mbox series

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

Message ID 20180228075134.GA35113@ubuntu
State Accepted
Commit dad75e241c0a62b48ad40f4edbf81aecbbce8fd7
Delegated to: Stefano Babic
Headers show
Series [U-Boot,1/2] mx7_common: Fix SPL compilation with secure boot support enabled | expand

Commit Message

Eran Matityahu Feb. 28, 2018, 7:51 a.m. UTC
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(+)

Comments

Stefano Babic March 29, 2018, 3:57 p.m. UTC | #1
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
diff mbox series

Patch

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