summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2016-03-16 14:39:06 +0800
committerYe Li <ye.li@nxp.com>2016-03-25 15:48:12 +0800
commit01cc7d9bc205251c13712418d51f3a4d7b20861b (patch)
treedd4314b48365b28b7c81e305c6b8f0e0f263c47a /board
parent3c118b8d6bbe1a25ca8c8bafeb528309f16fc73d (diff)
downloadu-boot-imx-01cc7d9bc205251c13712418d51f3a4d7b20861b.zip
u-boot-imx-01cc7d9bc205251c13712418d51f3a4d7b20861b.tar.gz
u-boot-imx-01cc7d9bc205251c13712418d51f3a4d7b20861b.tar.bz2
MLK-12500-2 HAB: Add commented secure boot configurations
CONFIG_SECURE_BOOT is used for signed image building, this configuration is not enabled at default. Comment it in board header files. Users can uncomment it to enable. Also add CONFIG_CSF_SIZE for defining the CSF reserved size Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/mx6qarm2/imximage_mx6dl.cfg7
-rw-r--r--board/freescale/mx6sxsabresd/imximage.cfg4
2 files changed, 11 insertions, 0 deletions
diff --git a/board/freescale/mx6qarm2/imximage_mx6dl.cfg b/board/freescale/mx6qarm2/imximage_mx6dl.cfg
index 8b223e8..6753049 100644
--- a/board/freescale/mx6qarm2/imximage_mx6dl.cfg
+++ b/board/freescale/mx6qarm2/imximage_mx6dl.cfg
@@ -10,6 +10,9 @@
* The syntax is taken as close as possible with the kwbimage
*/
+#define __ASSEMBLY__
+#include <config.h>
+
/* image version */
IMAGE_VERSION 2
@@ -24,6 +27,10 @@ BOOT_FROM sd
PLUGIN board/freescale/mx6qarm2/plugin.bin 0x00907000
#else
+#ifdef CONFIG_SECURE_BOOT
+CSF CONFIG_CSF_SIZE
+#endif
+
/*
* Device Configuration Data (DCD)
*
diff --git a/board/freescale/mx6sxsabresd/imximage.cfg b/board/freescale/mx6sxsabresd/imximage.cfg
index bea730a..fea2a81 100644
--- a/board/freescale/mx6sxsabresd/imximage.cfg
+++ b/board/freescale/mx6sxsabresd/imximage.cfg
@@ -27,6 +27,10 @@ BOOT_FROM sd
PLUGIN board/freescale/mx6sxsabresd/plugin.bin 0x00907000
#else
+#ifdef CONFIG_SECURE_BOOT
+CSF CONFIG_CSF_SIZE
+#endif
+
/*
* Device Configuration Data (DCD)
*