mx6_common: add secure boot support
authorGary Bisson <gary.bisson@boundarydevices.com>
Thu, 25 Aug 2016 17:03:18 +0000 (19:03 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 17 Oct 2016 07:04:43 +0000 (09:04 +0200)
Selecting the proper options to enable the build of the HAB tools.

Note, this support is disabled by default, one will have to select
the SECURE_BOOT configuration through menuconfig to enable it.

See doc/README.mxc_hab for more details.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
include/configs/mx6_common.h

index 411316dc3abab08f8cd8b97f63fa66fca38c84ba..d28654b2ed291ec7968d468d0f52420431b06889 100644 (file)
 #define CONFIG_CMD_FUSE
 #define CONFIG_MXC_OCOTP
 
+/* Secure boot (HAB) support */
+#ifdef CONFIG_SECURE_BOOT
+#define CONFIG_CSF_SIZE                        0x2000
+#define CONFIG_SYS_FSL_SEC_COMPAT      4
+#define CONFIG_FSL_CAAM
+#define CONFIG_CMD_DEKBLOB
+#define CONFIG_SYS_FSL_SEC_LE
+#endif
+
 #endif