Skip to contentSkip to conversation

mx7_common: Fix SPL compilation with secure boot support enabled

PATCH New Eran Matityahu 2 participants 2 messages Feb 28, 2018 – Mar 29, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 mx7_common: Fix SPL compilation with secure boot support enabled

The SPL MISC driver support must be enabled, so that the driver can use OTP fuse to check if HAB is enabled.

---
 include/configs/mx7_common.h | 3 +++
 1 file changed, 3 insertions(+)
include/configs/mx7_common.h +3 -0
index defb38c..6ebf2e1 100644
@@ -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
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/2 mx7_common: Fix SPL compilation with secure boot support enabled

Quoted 14 lines · Eran Matityahu

The SPL MISC driver support must be enabled, so that the driver can use OTP fuse to check if HAB is enabled.

---
 include/configs/mx7_common.h | 3 +++
 1 file changed, 3 insertions(+)
include/configs/mx7_common.h +0 -0
index defb38c..6ebf2e1 100644

include/configs/mx7_common.h line 67

Quoted 9 lines
include/configs/mx7_common.h +3 -0
@@ -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

Signature · 5 lines
=====================================================================
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
=====================================================================