summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-06-05 18:15:42 +0800
committerYe.Li <B37916@freescale.com>2014-06-17 11:13:42 +0800
commit4f858f7564d4dad9f63a631bc43f93d6930529c3 (patch)
tree7b2dfbe131335a63e9d83ab0b8d6ae6d743187b2
parent7ab7ee3893f6ce45623e218d88b45cc32f760d24 (diff)
downloadu-boot-imx-4f858f7564d4dad9f63a631bc43f93d6930529c3.zip
u-boot-imx-4f858f7564d4dad9f63a631bc43f93d6930529c3.tar.gz
u-boot-imx-4f858f7564d4dad9f63a631bc43f93d6930529c3.tar.bz2
ENGR00315894-24 imx6:sabreauto/sabresd/arm2/evk Add the secureboot support
In order to support the secureboot, please turn on the CONFIG_SECURE_BOOT in "include/configs/mx6qsabre_common.h" ---- sabreauto or sabresd "include/configs/mx6slevk.h" ---- imx6slevk "include/configs/mx6qarm2.h" ---- arm2 By default, the CONFIG_SECURE_BOOT is disabled. Signed-off-by: Ye.Li <B37916@freescale.com>
-rw-r--r--board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg4
-rw-r--r--board/freescale/mx6qarm2/imximage.cfg5
-rw-r--r--board/freescale/mx6qsabreauto/mx6dl.cfg5
-rw-r--r--board/freescale/mx6qsabreauto/mx6q.cfg5
-rw-r--r--board/freescale/mx6qsabreauto/mx6solo.cfg5
-rw-r--r--board/freescale/mx6sabresd/mx6dl_4x_mt41j128.cfg5
-rw-r--r--board/freescale/mx6sabresd/mx6solo_4x_mt41j128.cfg5
-rw-r--r--board/freescale/mx6slevk/imximage.cfg5
-rw-r--r--include/configs/mx6qarm2.h3
-rw-r--r--include/configs/mx6sabre_common.h3
-rw-r--r--include/configs/mx6slevk.h3
11 files changed, 48 insertions, 0 deletions
diff --git a/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg b/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg
index 8407371..aa897e9 100644
--- a/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg
+++ b/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg
@@ -31,6 +31,10 @@ BOOT_FROM sd
PLUGIN board/freescale/mx6sabresd/plugin.bin 0x00907000
#else
+#ifdef CONFIG_SECURE_BOOT
+CSF 0x2000
+#endif
+
/*
* Device Configuration Data (DCD)
*
diff --git a/board/freescale/mx6qarm2/imximage.cfg b/board/freescale/mx6qarm2/imximage.cfg
index 5595d02..9a13ebc 100644
--- a/board/freescale/mx6qarm2/imximage.cfg
+++ b/board/freescale/mx6qarm2/imximage.cfg
@@ -28,6 +28,11 @@ BOOT_FROM sd
/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
PLUGIN board/freescale/mx6qarm2/plugin.bin 0x00907000
#else
+
+#ifdef CONFIG_SECURE_BOOT
+CSF 0x2000
+#endif
+
/*
* Device Configuration Data (DCD)
*
diff --git a/board/freescale/mx6qsabreauto/mx6dl.cfg b/board/freescale/mx6qsabreauto/mx6dl.cfg
index 0729c03..e491c63 100644
--- a/board/freescale/mx6qsabreauto/mx6dl.cfg
+++ b/board/freescale/mx6qsabreauto/mx6dl.cfg
@@ -35,6 +35,11 @@ BOOT_FROM sd
/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
PLUGIN board/freescale/mx6qsabreauto/plugin.bin 0x00907000
#else
+
+#ifdef CONFIG_SECURE_BOOT
+CSF 0x2000
+#endif
+
/*
* Device Configuration Data (DCD)
*
diff --git a/board/freescale/mx6qsabreauto/mx6q.cfg b/board/freescale/mx6qsabreauto/mx6q.cfg
index 1663761..d3c249b 100644
--- a/board/freescale/mx6qsabreauto/mx6q.cfg
+++ b/board/freescale/mx6qsabreauto/mx6q.cfg
@@ -34,6 +34,11 @@ BOOT_FROM sd
/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
PLUGIN board/freescale/mx6qsabreauto/plugin.bin 0x00907000
#else
+
+#ifdef CONFIG_SECURE_BOOT
+CSF 0x2000
+#endif
+
/*
* Device Configuration Data (DCD)
*
diff --git a/board/freescale/mx6qsabreauto/mx6solo.cfg b/board/freescale/mx6qsabreauto/mx6solo.cfg
index e5857aa..011042b 100644
--- a/board/freescale/mx6qsabreauto/mx6solo.cfg
+++ b/board/freescale/mx6qsabreauto/mx6solo.cfg
@@ -32,6 +32,11 @@ BOOT_FROM sd
/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
PLUGIN board/freescale/mx6qsabreauto/plugin.bin 0x00907000
#else
+
+#ifdef CONFIG_SECURE_BOOT
+CSF 0x2000
+#endif
+
/*
* Device Configuration Data (DCD)
*
diff --git a/board/freescale/mx6sabresd/mx6dl_4x_mt41j128.cfg b/board/freescale/mx6sabresd/mx6dl_4x_mt41j128.cfg
index 74a3145..0b32482 100644
--- a/board/freescale/mx6sabresd/mx6dl_4x_mt41j128.cfg
+++ b/board/freescale/mx6sabresd/mx6dl_4x_mt41j128.cfg
@@ -31,6 +31,11 @@ BOOT_FROM sd
/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
PLUGIN board/freescale/mx6sabresd/plugin.bin 0x00907000
#else
+
+#ifdef CONFIG_SECURE_BOOT
+CSF 0x2000
+#endif
+
/*
* Device Configuration Data (DCD)
*
diff --git a/board/freescale/mx6sabresd/mx6solo_4x_mt41j128.cfg b/board/freescale/mx6sabresd/mx6solo_4x_mt41j128.cfg
index c886cbc..6526db4 100644
--- a/board/freescale/mx6sabresd/mx6solo_4x_mt41j128.cfg
+++ b/board/freescale/mx6sabresd/mx6solo_4x_mt41j128.cfg
@@ -31,6 +31,11 @@ BOOT_FROM sd
/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
PLUGIN board/freescale/mx6sabresd/plugin.bin 0x00907000
#else
+
+#ifdef CONFIG_SECURE_BOOT
+CSF 0x2000
+#endif
+
/*
* Device Configuration Data (DCD)
*
diff --git a/board/freescale/mx6slevk/imximage.cfg b/board/freescale/mx6slevk/imximage.cfg
index 53d7fb3..96e6961 100644
--- a/board/freescale/mx6slevk/imximage.cfg
+++ b/board/freescale/mx6slevk/imximage.cfg
@@ -27,6 +27,11 @@ BOOT_FROM sd
/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
PLUGIN board/freescale/mx6slevk/plugin.bin 0x00907000
#else
+
+#ifdef CONFIG_SECURE_BOOT
+CSF 0x2000
+#endif
+
/*
* Device Configuration Data (DCD)
*
diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h
index caeebb6..004abec 100644
--- a/include/configs/mx6qarm2.h
+++ b/include/configs/mx6qarm2.h
@@ -15,6 +15,9 @@
/* uncomment for PLUGIN mode support */
/* #define CONFIG_USE_PLUGIN */
+/* uncomment for SECURE mode support */
+/* #define CONFIG_SECURE_BOOT */
+
#include "mx6_common.h"
#define CONFIG_DISPLAY_CPUINFO
diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h
index 964e642..5d879e0 100644
--- a/include/configs/mx6sabre_common.h
+++ b/include/configs/mx6sabre_common.h
@@ -18,6 +18,9 @@
/* uncomment for PLUGIN mode support */
/* #define CONFIG_USE_PLUGIN */
+/* uncomment for SECURE mode support */
+/* #define CONFIG_SECURE_BOOT */
+
#include "mx6_common.h"
#include <linux/sizes.h>
diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h
index 79570f2..4ae8ed7 100644
--- a/include/configs/mx6slevk.h
+++ b/include/configs/mx6slevk.h
@@ -21,6 +21,9 @@
/* uncomment for PLUGIN mode support */
/* #define CONFIG_USE_PLUGIN */
+/* uncomment for SECURE mode support */
+/* #define CONFIG_SECURE_BOOT */
+
#define MACH_TYPE_MX6SLEVK 4307
#define CONFIG_MACH_TYPE MACH_TYPE_MX6SLEVK