summaryrefslogtreecommitdiff
path: root/include/configs/mx6slevk.h
diff options
context:
space:
mode:
authorUlises Cardenas <Ulises.Cardenas@freescale.com>2015-06-16 12:36:41 -0500
committerUlises Cardenas <Ulises.Cardenas@freescale.com>2015-06-16 12:36:41 -0500
commit50198ddbb3f8b34f9d4fc881a34dcd1715b1d61d (patch)
treed7694cfec7c05bd28baae1df92ed485e7f89182a /include/configs/mx6slevk.h
parent9ea395d7ea6b8ed65d7d68a92d9832264872b447 (diff)
downloadu-boot-imx-50198ddbb3f8b34f9d4fc881a34dcd1715b1d61d.zip
u-boot-imx-50198ddbb3f8b34f9d4fc881a34dcd1715b1d61d.tar.gz
u-boot-imx-50198ddbb3f8b34f9d4fc881a34dcd1715b1d61d.tar.bz2
MLK-11059 imx: HAB unable to support Encrypted boot for 4096-bit keys
Abstracted the CSF size in imximage from a hardcoded value to a config setting CONFIG_CSF_SIZE. This configuration is only enabled for secure boot. Increased the size of the CSF default allocation to 0x4000. This size covers the event the worst case of 4906-bits keys.
Diffstat (limited to 'include/configs/mx6slevk.h')
-rw-r--r--include/configs/mx6slevk.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h
index 5afcaea..1867162 100644
--- a/include/configs/mx6slevk.h
+++ b/include/configs/mx6slevk.h
@@ -24,6 +24,12 @@
/* uncomment for SECURE mode support */
/* #define CONFIG_SECURE_BOOT */
+#ifdef CONFIG_SECURE_BOOT
+#ifndef CONFIG_CSF_SIZE
+#define CONFIG_CSF_SIZE 0x4000
+#endif
+#endif
+
#define MACH_TYPE_MX6SLEVK 4307
#define CONFIG_MACH_TYPE MACH_TYPE_MX6SLEVK