summaryrefslogtreecommitdiff
path: root/include/configs/mx7dsabresd.h
diff options
context:
space:
mode:
authorUlises Cardenas <Ulises.Cardenas@freescale.com>2015-06-16 12:36:41 -0500
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-09 14:42:39 +0100
commitdb5e1632538f9f5e7509f6f94adcbcefa4ff2b6b (patch)
treed8d2a5063dd7b86bd62fed72f343e92c7d1e60fa /include/configs/mx7dsabresd.h
parentab54d9d962d86de4b2ce72e9317896d0162c16dc (diff)
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/mx7dsabresd.h')
-rw-r--r--include/configs/mx7dsabresd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h
index f0d421cf8e..9c38a7e100 100644
--- a/include/configs/mx7dsabresd.h
+++ b/include/configs/mx7dsabresd.h
@@ -27,6 +27,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 CONFIG_CMDLINE_TAG
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_INITRD_TAG