summaryrefslogtreecommitdiff
path: root/include/configs/mx6_common.h
diff options
context:
space:
mode:
authorGary Bisson <gary.bisson@boundarydevices.com>2016-08-25 19:03:18 +0200
committerStefano Babic <sbabic@denx.de>2016-10-17 09:04:43 +0200
commite22685d2b6ba337f20bc2d4f815f14e7c87f98bd (patch)
tree079217546b6e3774255941bb9b6a63047fdacc04 /include/configs/mx6_common.h
parent436baaa2f58b06dded81388853d0ae1277af5bbe (diff)
mx6_common: add secure boot support
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>
Diffstat (limited to 'include/configs/mx6_common.h')
-rw-r--r--include/configs/mx6_common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h
index 411316dc3a..d28654b2ed 100644
--- a/include/configs/mx6_common.h
+++ b/include/configs/mx6_common.h
@@ -91,4 +91,13 @@
#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