From db5e1632538f9f5e7509f6f94adcbcefa4ff2b6b Mon Sep 17 00:00:00 2001 From: Ulises Cardenas Date: Tue, 16 Jun 2015 12:36:41 -0500 Subject: 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. --- include/configs/mx6sxsabreauto.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/configs/mx6sxsabreauto.h') diff --git a/include/configs/mx6sxsabreauto.h b/include/configs/mx6sxsabreauto.h index b772485df3..a41ec144c3 100644 --- a/include/configs/mx6sxsabreauto.h +++ b/include/configs/mx6sxsabreauto.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 -- cgit v1.2.3