summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/configs/mx6qarm2.h9
-rw-r--r--include/configs/mx6sabre_common.h9
-rw-r--r--include/configs/mx6slevk.h9
-rw-r--r--include/configs/mx6sxsabreauto.h9
-rw-r--r--include/configs/mx6sxsabresd.h9
-rw-r--r--include/configs/mx6ul_14x14_evk.h9
-rw-r--r--include/configs/mx7dsabresd.h7
7 files changed, 60 insertions, 1 deletions
diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h
index 36b17c6..28fc22b 100644
--- a/include/configs/mx6qarm2.h
+++ b/include/configs/mx6qarm2.h
@@ -14,6 +14,15 @@
/* uncomment for PLUGIN mode support */
/* #define CONFIG_USE_PLUGIN */
+/* 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_IMX_THERMAL
/* Size of malloc() pool */
diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h
index da7a507..4fd1131 100644
--- a/include/configs/mx6sabre_common.h
+++ b/include/configs/mx6sabre_common.h
@@ -14,6 +14,15 @@
/* uncomment for PLUGIN mode support */
/* #define CONFIG_USE_PLUGIN */
+/* 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_IMX_THERMAL
/* Size of malloc() pool */
diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h
index a97a5d6..ab57eef 100644
--- a/include/configs/mx6slevk.h
+++ b/include/configs/mx6slevk.h
@@ -20,6 +20,15 @@
/* uncomment for PLUGIN mode support */
/* #define CONFIG_USE_PLUGIN */
+/* 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 MACH_TYPE_MX6SLEVK 4307
#define CONFIG_MACH_TYPE MACH_TYPE_MX6SLEVK
diff --git a/include/configs/mx6sxsabreauto.h b/include/configs/mx6sxsabreauto.h
index e907294..651472e 100644
--- a/include/configs/mx6sxsabreauto.h
+++ b/include/configs/mx6sxsabreauto.h
@@ -15,6 +15,15 @@
/* uncomment for PLUGIN mode support */
/* #define CONFIG_USE_PLUGIN */
+/* uncomment for SECURE mode support */
+/* #define CONFIG_SECURE_BOOT */
+
+#ifdef CONFIG_SECURE_BOOT
+#ifndef CONFIG_CSF_SIZE
+#define CONFIG_CSF_SIZE 0x4000
+#endif
+#endif
+
/* Size of malloc() pool */
#define CONFIG_SYS_MALLOC_LEN (32 * SZ_1M)
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
index 0e7b3b4..91a0586 100644
--- a/include/configs/mx6sxsabresd.h
+++ b/include/configs/mx6sxsabresd.h
@@ -23,6 +23,15 @@
/* uncomment for PLUGIN mode support */
/* #define CONFIG_USE_PLUGIN */
+/* uncomment for SECURE mode support */
+/* #define CONFIG_SECURE_BOOT */
+
+#ifdef CONFIG_SECURE_BOOT
+#ifndef CONFIG_CSF_SIZE
+#define CONFIG_CSF_SIZE 0x4000
+#endif
+#endif
+
/* Size of malloc() pool */
#define CONFIG_SYS_MALLOC_LEN (32 * SZ_1M)
diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul_14x14_evk.h
index 945fd52..2eb39b2 100644
--- a/include/configs/mx6ul_14x14_evk.h
+++ b/include/configs/mx6ul_14x14_evk.h
@@ -17,6 +17,15 @@
/* uncomment for PLUGIN mode support */
/* #define CONFIG_USE_PLUGIN */
+/* 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 is_mx6ul_9x9_evk() CONFIG_IS_ENABLED(TARGET_MX6UL_9X9_EVK)
#ifdef CONFIG_TARGET_MX6UL_9X9_EVK
diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h
index 9db8906..7b28b39 100644
--- a/include/configs/mx7dsabresd.h
+++ b/include/configs/mx7dsabresd.h
@@ -19,7 +19,12 @@
/* Uncomment to enable secure boot support */
/* #define CONFIG_SECURE_BOOT */
-#define CONFIG_CSF_SIZE 0x4000
+
+#ifdef CONFIG_SECURE_BOOT
+#ifndef CONFIG_CSF_SIZE
+#define CONFIG_CSF_SIZE 0x4000
+#endif
+#endif
/* Network */
#define CONFIG_CMD_MII