summaryrefslogtreecommitdiff
path: root/include/configs/mx7_common.h
diff options
context:
space:
mode:
authorGary Bisson <gary.bisson@boundarydevices.com>2016-08-25 19:03:19 +0200
committerStefano Babic <sbabic@denx.de>2016-10-17 09:05:33 +0200
commite6672392e79887f15ede2f594c69fd95d7c9ade2 (patch)
tree9240969027542bad390ed830cd88d61ef6142d56 /include/configs/mx7_common.h
parente22685d2b6ba337f20bc2d4f815f14e7c87f98bd (diff)
mx7_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. Also remove duplicate options from board config headers. Cc: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Diffstat (limited to 'include/configs/mx7_common.h')
-rw-r--r--include/configs/mx7_common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index 748029c26a..06452288ba 100644
--- a/include/configs/mx7_common.h
+++ b/include/configs/mx7_common.h
@@ -72,4 +72,13 @@
#define CONFIG_ARMV7_SECURE_BASE 0x00900000
+/* 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