summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEran Matityahu <eran.m@variscite.com>2018-02-28 09:51:34 +0200
committerStefano Babic <sbabic@denx.de>2018-03-29 17:29:38 +0200
commitdad75e241c0a62b48ad40f4edbf81aecbbce8fd7 (patch)
tree7ba7a9d13d7c966ee13448d69a5db4264bc15602
parent7906ed4fdd70bb88ea8e6f47c404949a957f0890 (diff)
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. Signed-off-by: Eran Matityahu <eran.m@variscite.com>
-rw-r--r--include/configs/mx7_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index defb38c5b3..6ebf2e1c68 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