summaryrefslogtreecommitdiff
path: root/board/freescale/mx6qarm2
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 /board/freescale/mx6qarm2
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 'board/freescale/mx6qarm2')
-rw-r--r--board/freescale/mx6qarm2/imximage.cfg2
-rw-r--r--board/freescale/mx6qarm2/imximage_mx6dl.cfg2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mx6qarm2/imximage.cfg b/board/freescale/mx6qarm2/imximage.cfg
index 425f24a..1063f29 100644
--- a/board/freescale/mx6qarm2/imximage.cfg
+++ b/board/freescale/mx6qarm2/imximage.cfg
@@ -28,7 +28,7 @@ PLUGIN board/freescale/mx6qarm2/plugin.bin 0x00907000
#else
#ifdef CONFIG_SECURE_BOOT
-CSF 0x2000
+CSF CONFIG_CSF_SIZE
#endif
/*
diff --git a/board/freescale/mx6qarm2/imximage_mx6dl.cfg b/board/freescale/mx6qarm2/imximage_mx6dl.cfg
index 8d1b8bd..3f1d6c6 100644
--- a/board/freescale/mx6qarm2/imximage_mx6dl.cfg
+++ b/board/freescale/mx6qarm2/imximage_mx6dl.cfg
@@ -28,7 +28,7 @@ PLUGIN board/freescale/mx6qarm2/plugin.bin 0x00907000
#else
#ifdef CONFIG_SECURE_BOOT
-CSF 0x2000
+CSF CONFIG_CSF_SIZE
#endif
/*