summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Liu <r64343@freescale.com>2013-08-22 07:07:57 +0800
committerJason Liu <r64343@freescale.com>2013-08-22 07:07:57 +0800
commitee70bdf2b1843632c823c48cf7ce6e73c53cf70c (patch)
tree8516e4c8dfb4099a775216a526fcd8d9673b583d
parent125dc3d657a1e6d1821123361f6c7238f2653d1d (diff)
downloadu-boot-imx-ee70bdf2b1843632c823c48cf7ce6e73c53cf70c.zip
u-boot-imx-ee70bdf2b1843632c823c48cf7ce6e73c53cf70c.tar.gz
u-boot-imx-ee70bdf2b1843632c823c48cf7ce6e73c53cf70c.tar.bz2
ENGR00275348-12 imx6slevk: add the secureboot support
In order to support the secureboot, please turn on the CONFIG_SECURE_BOOT in include/configs/mx6slevk.h By default, the CONFIG_SECURE_BOOT is disabled Signed-off-by: Jason Liu <r64343@freescale.com>
-rw-r--r--board/freescale/mx6slevk/imximage.cfg5
-rw-r--r--include/configs/mx6slevk.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/board/freescale/mx6slevk/imximage.cfg b/board/freescale/mx6slevk/imximage.cfg
index 69eb41b..55166c3 100644
--- a/board/freescale/mx6slevk/imximage.cfg
+++ b/board/freescale/mx6slevk/imximage.cfg
@@ -30,6 +30,11 @@ BOOT_FROM sd
/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
PLUGIN board/freescale/mx6slevk/plugin.bin 0x00907000
#else
+
+#ifdef CONFIG_SECURE_BOOT
+SECURE_BOOT
+#endif
+
/*
* Device Configuration Data (DCD)
*
diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h
index ef11afe..d8eedb0 100644
--- a/include/configs/mx6slevk.h
+++ b/include/configs/mx6slevk.h
@@ -26,6 +26,11 @@
/* uncomment for PLUGIN mode support */
/* #define CONFIG_USE_PLUGIN */
+#define CONFIG_ARCH_MISC_INIT
+
+/* uncomment for SECURE mode support */
+/* #define CONFIG_SECURE_BOOT */
+
#define MACH_TYPE_MX6SLEVK 4307
#define CONFIG_MACH_TYPE MACH_TYPE_MX6SLEVK