From 50198ddbb3f8b34f9d4fc881a34dcd1715b1d61d 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/mx6ul_14x14_ddr3_arm2.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/configs/mx6ul_14x14_ddr3_arm2.h') diff --git a/include/configs/mx6ul_14x14_ddr3_arm2.h b/include/configs/mx6ul_14x14_ddr3_arm2.h index 0148f6c..643961e 100644 --- a/include/configs/mx6ul_14x14_ddr3_arm2.h +++ b/include/configs/mx6ul_14x14_ddr3_arm2.h @@ -26,6 +26,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.1