diff options
author | Jason Liu <r64343@freescale.com> | 2013-08-14 15:10:40 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2013-08-21 14:54:17 +0800 |
commit | ade289156605c94f693aeeb4062acb2bba543bcd (patch) | |
tree | 5c92d18a4edb1ac8f656d8b92c9f71d7f5bfe723 | |
parent | dc526e4eb966cc0311f6ad8dd69d94ffcf56c25f (diff) | |
download | u-boot-imx-ade289156605c94f693aeeb4062acb2bba543bcd.zip u-boot-imx-ade289156605c94f693aeeb4062acb2bba543bcd.tar.gz u-boot-imx-ade289156605c94f693aeeb4062acb2bba543bcd.tar.bz2 |
ENGR00275348-8 imx6/arm2: add the secureboot support
In order to support the secureboot, please turn on
CONFIG_SECURE_BOOT in the include/configs/mx6qarm2.h
By default, the CONFIG_SECURE_BOOT is disabled.
Signed-off-by: Jason Liu <r64343@freescale.com>
-rw-r--r-- | board/freescale/mx6qarm2/imximage.cfg | 5 | ||||
-rw-r--r-- | include/configs/mx6qarm2.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/board/freescale/mx6qarm2/imximage.cfg b/board/freescale/mx6qarm2/imximage.cfg index 966ba73..2c35658 100644 --- a/board/freescale/mx6qarm2/imximage.cfg +++ b/board/freescale/mx6qarm2/imximage.cfg @@ -44,6 +44,11 @@ BOOT_FROM sd /*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/ PLUGIN board/freescale/mx6qarm2/plugin.bin 0x00907000 #else + +#ifdef CONFIG_SECURE_BOOT +SECURE_BOOT +#endif + /* * Device Configuration Data (DCD) * diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h index 36315f6..c318057 100644 --- a/include/configs/mx6qarm2.h +++ b/include/configs/mx6qarm2.h @@ -29,9 +29,14 @@ #define CONFIG_SYS_PL310_BASE 0x00A02000 #define CONFIG_SYS_CACHELINE_SIZE 32 +#define CONFIG_ARCH_MISC_INIT + /* 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 |