diff mbox

[U-Boot,v2,3/5] mx6_common: add secure boot support

Message ID 1472144600-1834-4-git-send-email-gary.bisson@boundarydevices.com
State Accepted
Commit e22685d2b6ba337f20bc2d4f815f14e7c87f98bd
Delegated to: Stefano Babic
Headers show

Commit Message

Gary Bisson Aug. 25, 2016, 5:03 p.m. UTC
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 | 9 +++++++++
 1 file changed, 9 insertions(+)
diff mbox

Patch

diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h
index fb49322..02afe8a 100644
--- a/include/configs/mx6_common.h
+++ b/include/configs/mx6_common.h
@@ -93,4 +93,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