mx7_common: Fix SPL compilation with secure boot support enabled
authorEran Matityahu <eran.m@variscite.com>
Wed, 28 Feb 2018 07:51:34 +0000 (09:51 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 29 Mar 2018 15:29:38 +0000 (17:29 +0200)
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

index defb38c..6ebf2e1 100644 (file)
@@ -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